Skip to content

Commit e4390ae

Browse files
authored
Merge pull request #60 from github/jfuchs-publish-updates
Update publish.yml
2 parents be131e8 + b2db0a2 commit e4390ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
name: Publish
2-
32
on:
43
release:
54
types: [created]
6-
75
jobs:
86
publish-npm:
97
runs-on: ubuntu-latest
108
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
9+
- name: Checkout the project
10+
uses: actions/checkout@v3
11+
- name: Use Node.js 16.x (LTS)
12+
uses: actions/setup-node@v3
1313
with:
14-
node-version: 14
14+
node-version: 16.x
1515
registry-url: https://registry.npmjs.org/
1616
cache: npm
1717
- run: npm ci
1818
- run: npm test
1919
- run: npm version ${TAG_NAME} --git-tag-version=false
2020
env:
2121
TAG_NAME: ${{ github.event.release.tag_name }}
22-
- run: npm whoami; npm --ignore-scripts publish
22+
- run: npm whoami; npm publish --access public
2323
env:
2424
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)