update publish scripts

This commit is contained in:
coyotte508 2025-08-09 20:11:15 +00:00
commit 71dd8b7a40
2 changed files with 4 additions and 8 deletions

View file

@ -8,7 +8,7 @@ on:
default: patch
env:
node_version: 14
node_version: 22
defaults:
run:
@ -25,9 +25,7 @@ jobs:
node-version: ${{ env.node_version }}
# setting a registry enables the NODE_AUTH_TOKEN env variable where we can set an npm token. REQUIRED
registry-url: 'https://registry.npmjs.org'
- uses: pnpm/action-setup@v1.2.1
with:
version: 5.17.1
- run: corepack enable
- run: pnpm install
- run: git config --global user.name github-actions
- run: git config --global user.email bot@github.com

View file

@ -8,7 +8,7 @@ on:
default: patch
env:
node_version: 14
node_version: 22
defaults:
run:
@ -25,9 +25,7 @@ jobs:
node-version: ${{ env.node_version }}
# setting a registry enables the NODE_AUTH_TOKEN env variable where we can set an npm token. REQUIRED
registry-url: 'https://registry.npmjs.org'
- uses: pnpm/action-setup@v1.2.1
with:
version: 5.17.1
- run: corepack enable
- run: pnpm install
- run: git config --global user.name github-actions
- run: git config --global user.email bot@github.com