Skip to content

Commit

Permalink
Fix publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
reilem committed Mar 31, 2024
1 parent fa153a6 commit 69551d4
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false

- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "18.x"

- name: Setup PNPM
uses: pnpm/action-setup@v3
cache: pnpm
registry-url: https://registry.npmjs.org

- name: Install Dependencies
run: pnpm install --frozen-lockfile
Expand All @@ -33,6 +38,6 @@ jobs:
run: pnpm run build

- name: Publish
run: pnpm publish --no-git-checks # Disable checks because this will run on a headless release
run: pnpm publish --access public --no-git-checks # Disable checks because this will run on a headless release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 69551d4

Please sign in to comment.