We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7293e69 commit a1442feCopy full SHA for a1442fe
.github/workflows/publish-to-npm.yml
@@ -0,0 +1,31 @@
1
+name: Publish packages to NPM
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ release-to-npm:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ id-token: write
11
+ steps:
12
+ - name: Checkout Repository
13
+ uses: actions/checkout@v4
14
+ with:
15
+ fetch-depth: 0
16
17
+ - name: Setup Node
18
+ uses: actions/setup-node@v4
19
20
+ node-version: 18
21
+ registry-url: 'https://registry.npmjs.org'
22
23
+ - run: npm ci
24
25
+ - run: npm run compile
26
27
+ - name: Publish to npm
28
+ env:
29
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
30
+ NPM_CONFIG_PROVENANCE: true
31
+ run: npx lerna publish --concurrency 1 from-package --no-push --no-private --no-git-tag-version --no-verify-access --yes
0 commit comments