ci: update npm publish workflow actions and node version

This commit is contained in:
copilot-swe-agent[bot]
2026-06-10 16:52:42 +00:00
committed by GitHub
Unverified
parent 7daf36a894
commit 76165b7220
+3 -3
View File
@@ -7,11 +7,11 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
# Setup .npmrc file to publish to npm # Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1 - uses: actions/setup-node@v4
with: with:
node-version: '12.x' node-version: '20.x'
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
- run: npm install - run: npm install
- run: npm publish - run: npm publish