Skip to content

Commit

Permalink
👷 Use setup-node (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
regan-karlewicz committed May 31, 2022
1 parent 7f805b1 commit b430a8a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release_npm_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"

- name: Install Dependencies
run: yarn install --frozen-lockfile
Expand Down Expand Up @@ -155,6 +156,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Publish Package
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" && npm publish
run: npm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit b430a8a

Please sign in to comment.