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 0af313a commit cebda7fCopy full SHA for cebda7f
.github/workflows/hopp-publish.yml
@@ -0,0 +1,26 @@
1
+name: Publish Package to NPM
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ publish:
9
+ name: Publish
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v3
14
15
+ - name: Setup node
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: 20
19
+ cache: 'npm'
20
21
+ - run: npm install
22
23
+ - name: Publish package
24
+ run: npm publish --access public
25
+ env:
26
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_ACCESS_TOKEN }}
0 commit comments