Skip to content

Commit

Permalink
chore: update publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gera2ld committed Sep 10, 2023
1 parent 1e088e2 commit 040fd6e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:

steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: '16.x'
- run: yarn && yarn ci
node-version: '20'
cache: "pnpm"
- run: pnpm install && pnpm run ci
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- run: yarn && npm publish
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm i && pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 040fd6e

Please sign in to comment.