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 c524fd9 commit 459d81bCopy full SHA for 459d81b
.github/workflows/npm.yml renamed to .github/workflows/release.yml
@@ -1,20 +1,21 @@
1
-name: Deploy to NPM
+name: Release
2
3
on:
4
push:
5
tags:
6
- - '*'
+ - 'v*'
7
+
8
jobs:
- publish:
9
+ release:
10
runs-on: ubuntu-latest
11
steps:
12
- uses: actions/checkout@v2
13
- uses: actions/setup-node@v1
14
with:
15
node-version: '15'
16
registry-url: 'https://registry.npmjs.org'
- - run: npm install
17
- - run: npm build
+ - run: yarn install
18
+ - run: yarn build
19
- run: npm publish
20
env:
21
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments