Merge pull request #1809 from jerryc127/copilot/fix-build-job-failure

Modernize npm publish workflow runtime to resolve failing build job
This commit is contained in:
Jerry Wong
2026-06-11 00:54:35 +08:00
committed by GitHub
Unverified
+3 -3
View File
@@ -7,11 +7,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '12.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish