We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 003ee35 commit db482e8Copy full SHA for db482e8
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,19 @@
1
+name: Node.js Package
2
+on:
3
+ release:
4
+ types: [created]
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - uses: actions/setup-node@v1
11
+ with:
12
+ node-version: "12.x"
13
+ registry-url: "https://registry.npmjs.org"
14
+ - run: yarn install
15
+ - run: npm version patch
16
+ - run: yarn build
17
+ - run: npm publish --access public
18
+ env:
19
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
0 commit comments