Skip to content

Commit

Permalink
ci: try to fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
it-propulse committed Dec 28, 2023
1 parent 0bde29d commit b5504ce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@propulse-lab'

- name: Install Pnpm
run: npm i -g pnpm@latest-8
Expand All @@ -30,9 +34,9 @@ jobs:
- name: Install packages
run: pnpm install --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PPL_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish packages on GitHub registry
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PPL_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b5504ce

Please sign in to comment.