Skip to content

Commit

Permalink
chore(node.js.yml): update node versions and actions
Browse files Browse the repository at this point in the history
更新 GitHub Actions 中的 Node.js 版本,移除过时的版本 14.x 和 16.x,同时将 `actions/checkout` 和 `actions/setup-node` 更新到最新版本 v4。

- 移除 Node.js 版本 14.x 和 16.x
- 更新 `actions/checkout` 从 v3 到 v4
- 更新 `actions/setup-node` 从 v3 到 v4

这些更新确保了我们的 CI/CD 流程使用最新的工具和节点版本,提高稳定性和性能。
  • Loading branch information
playdingnow committed Oct 24, 2024
1 parent 5f778c7 commit ec6d6e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm i --no-fund --no-audit
Expand Down

0 comments on commit ec6d6e9

Please sign in to comment.