Skip to content

Commit 2bc738f

Browse files
authored
ci: change node.js version to 18,20 and update actions version (#2604)
* ci: change node.js versions to 18,20 * ci: update actions version
1 parent d4afca3 commit 2bc738f

File tree

4 files changed

+8
-36
lines changed

4 files changed

+8
-36
lines changed

.github/workflows/gitleaks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
gitleaks:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010
- name: wget
1111
uses: wei/wget@v1
1212
with:

.github/workflows/issue-reply.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- name: help wanted
1212
if: github.event.label.name == 'help wanted'
13-
uses: actions-cool/issues-helper@v1.2
13+
uses: actions-cool/issues-helper@v3
1414
with:
1515
actions: 'create-comment'
1616
issue-number: ${{ github.event.issue.number }}
@@ -23,7 +23,7 @@ jobs:
2323
2424
- name: 🤔 Need Reproduce
2525
if: github.event.label.name == '🤔 Need Reproduce'
26-
uses: actions-cool/issues-helper@v1.2
26+
uses: actions-cool/issues-helper@v3
2727
with:
2828
actions: 'create-comment'
2929
issue-number: ${{ github.event.issue.number }}

.github/workflows/node-ci.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,29 @@ jobs:
99
strategy:
1010
matrix:
1111
mode: ['normal', 'strict']
12-
node-version: [14.x, 16.x]
12+
node-version: [18.x, 20.x]
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616

1717
- name: Install pnpm
18-
uses: pnpm/action-setup@v2.2.4
18+
uses: pnpm/action-setup@v4
1919

2020
- name: Get pnpm store directory
2121
id: pnpm-cache
2222
run: |
2323
echo "pnpm_cache_dir=$(pnpm store path)" >> "$GITHUB_OUTPUT"
2424
2525
- name: Setup pnpm cache
26-
uses: actions/cache@v3
26+
uses: actions/cache@v4
2727
with:
2828
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
2929
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
3030
restore-keys: |
3131
${{ runner.os }}-pnpm-store-
3232
3333
- name: Use Node.js ${{ matrix.node-version }}
34-
uses: actions/setup-node@v3
34+
uses: actions/setup-node@v4
3535
with:
3636
node-version: ${{ matrix.node-version }}
3737

0 commit comments

Comments
 (0)