Skip to content

Commit

Permalink
Rewrite workflow to PNPM
Browse files Browse the repository at this point in the history
  • Loading branch information
MaXal committed Dec 10, 2024
1 parent 544b37d commit 397d9f2
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,17 @@ jobs:
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish --provenance --access public

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: latest

- name: Install dependencies
run: pnpm install --frozen-lockfile


- name: Publish to NPM
run: pnpm publish --no-git-checks --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 397d9f2

Please sign in to comment.