Skip to content

Commit 459d81b

Browse files
authored
ci: use Yarn instead of NPM (#277)
1 parent c524fd9 commit 459d81b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
name: Deploy to NPM
1+
name: Release
22

33
on:
44
push:
55
tags:
6-
- '*'
6+
- 'v*'
7+
78
jobs:
8-
publish:
9+
release:
910
runs-on: ubuntu-latest
1011
steps:
1112
- uses: actions/checkout@v2
1213
- uses: actions/setup-node@v1
1314
with:
1415
node-version: '15'
1516
registry-url: 'https://registry.npmjs.org'
16-
- run: npm install
17-
- run: npm build
17+
- run: yarn install
18+
- run: yarn build
1819
- run: npm publish
1920
env:
2021
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)