Skip to content

Commit

Permalink
update npm token for automated deployment and make access public
Browse files Browse the repository at this point in the history
  • Loading branch information
dshiell committed Aug 1, 2023
1 parent 3d078ad commit 279dee4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish npm package
on:
push:
tags:
- "v*.*.*"
- 'v*.*.*'
release:
types: [published]

Expand All @@ -19,13 +19,13 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "18.15"
node-version: '18.15'

- name: Build
run: make build

- name: Publish
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
strategy: all
token: ${{ secrets.NPM_TOKEN }}
access: public

0 comments on commit 279dee4

Please sign in to comment.