Skip to content

Commit c2249de

Browse files
authored
Update release.yml
1 parent 012255b commit c2249de

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,18 @@ jobs:
4545
with:
4646
github-token: ${{ secrets.GITHUB_TOKEN }}
4747
parallel-finished: true
48-
48+
49+
- uses: actions/checkout@v2
50+
- uses: actions/setup-node@v2
51+
with:
52+
node-version: ${{ matrix.node }}
53+
registry-url: 'https://registry.npmjs.org'
54+
55+
- name: Run ci
56+
run: npm ci
57+
4958
- name: Publish package to NPM 📦
50-
run: cd ../; npm publish
59+
run: npm publish
5160

5261
env:
5362
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)