Skip to content

Commit 59ceba0

Browse files
committed
Update npm-publish.yml
1 parent 6d6137d commit 59ceba0

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/npm-publish.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
33

4-
name: '@smakss/random-array-element'
4+
name: "@smakss/random-array-element"
55

66
on:
77
release:
@@ -11,21 +11,21 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
15-
- uses: actions/setup-node@v1
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 12
17+
node-version: 16
1818

1919
publish-npm:
2020
needs: build
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v2
24-
- uses: actions/setup-node@v1
23+
- uses: actions/checkout@v3
24+
- uses: actions/setup-node@v3
2525
with:
26-
node-version: 12
26+
node-version: 16
2727
registry-url: https://registry.npmjs.org/
28-
scope: '@smakss'
28+
scope: "@smakss"
2929
- run: npm publish
3030
env:
3131
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -34,12 +34,12 @@ jobs:
3434
needs: build
3535
runs-on: ubuntu-latest
3636
steps:
37-
- uses: actions/checkout@v2
38-
- uses: actions/setup-node@v1
37+
- uses: actions/checkout@v3
38+
- uses: actions/setup-node@v3
3939
with:
40-
node-version: 12
40+
node-version: 16
4141
registry-url: https://npm.pkg.github.com/
42-
scope: '@smakss'
42+
scope: "@smakss"
4343
- run: npm publish
4444
env:
4545
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)