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 424abf2 commit 6765610Copy full SHA for 6765610
.github/workflows/package-publish.yml
@@ -0,0 +1,21 @@
1
+name: package-publish
2
+
3
+on: workflow_dispatch
4
5
+jobs:
6
+ package-publish:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v4
10
+ - uses: actions/setup-node@v4
11
+ with:
12
+ node-version: '20.x'
13
+ registry-url: 'https://registry.npmjs.org'
14
+ - name: Install Package
15
+ run: yarn
16
+ - name: Build
17
+ run: yarn clean && yarn build
18
+ - name: Publish
19
+ env:
20
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
21
+ run: npm whoami && npm publish --access public
0 commit comments