Skip to content

Commit

Permalink
Merge pull request #1888 from taozhi8833998/refactor-github-action
Browse files Browse the repository at this point in the history
refactor: update github action to v4
  • Loading branch information
taozhi8833998 authored Apr 30, 2024
2 parents 86e4d19 + 13865d7 commit 4a97827
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: '20.x'
registry-url: https://registry.npmjs.org/

- name: Temp disable SSL Verification for registry.npm.taobao.org
Expand All @@ -50,11 +50,14 @@ jobs:
publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: '20.x'
registry-url: https://npm.pkg.github.com/
scope: '@taozhi8833998'

Expand Down

0 comments on commit 4a97827

Please sign in to comment.