Skip to content

Commit

Permalink
chore: add NPM_TOKEN to publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvcasillas committed Jan 16, 2023
1 parent d021a73 commit 34bf5c8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish
on:
push:
branches:
- "main"
- 'main'

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand All @@ -17,13 +17,15 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "pnpm"
cache: 'pnpm'

- run: pnpm install --frozen-lockfile

- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 34bf5c8

Please sign in to comment.