Skip to content

Commit 7d52747

Browse files
authored
update newest versions on npm package
- node to v12 - checkout v2 - setup node v2.2.0
1 parent 8a35d38 commit 7d52747

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/npm-publish.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: npm publish
1+
name: Publish npm package
22

33
on:
44
release:
@@ -8,11 +8,14 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v1
12-
- uses: actions/setup-node@v1
11+
- name: Checkout repository
12+
uses: actions/checkout@v2
13+
- name: Setup node
14+
uses: actions/setup-node@v2.2.0
1315
with:
14-
node-version: 10
16+
node-version: 12
1517
registry-url: https://registry.npmjs.org/
16-
- run: npm publish
18+
- name: Publish npm package
19+
run: npm publish
1720
env:
1821
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)