Skip to content

Commit

Permalink
cleanup: Switch to GitHub Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits committed Apr 28, 2024
1 parent 67f5967 commit 9d5d870
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/unreleased-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,20 @@ jobs:

publish-npm:
needs: build
permissions:
packages: write
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
registry-url: https://registry.npmjs.org/
registry-url: https://npm.pkg.github.com/
- uses: pnpm/action-setup@v3
with:
version: latest
- run: pnpm install
- run: pnpm publish --no-git-checks --tag next
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 9d5d870

Please sign in to comment.