Skip to content

Commit

Permalink
chore: bump node16 to node20.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 23, 2024
1 parent a56ded8 commit 92047ce
Show file tree
Hide file tree
Showing 8 changed files with 35,301 additions and 11,546 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/branch-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
tags:
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

- run: npm install
- run: npm run all
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
tags:
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

- run: npm install
- run: npm run all
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
needs: [tags]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: echo "successful - ${{ needs.tags.outputs.version }}"
- run: echo "compareurl - ${{ needs.tags.outputs.tag }}"
- name: if ....
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
tags:
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

- run: npm install
- run: npm run all
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
npm install
- run: |
Expand Down
6 changes: 1 addition & 5 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no lint-staged
git add dist/
npm test
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ outputs:
successful:
description: 'The tag was successfully created.'
runs:
using: 'node16'
using: 'node20'
main: 'dist/main.js'

branding:
Expand Down
Loading

0 comments on commit 92047ce

Please sign in to comment.