浏览代码

Merge pull request #5 from lucas42/upgrade-action-node-versions

Upgrade action node versions
pull/837/head
Luke Blaney GitHub 1年前
父节点
当前提交
ab5ed8be75
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 2 个文件被更改,包括 7 次插入7 次删除
  1. +4
    -4
      .github/workflows/usage.yml
  2. +3
    -3
      .github/workflows/verify.yml

+ 4
- 4
.github/workflows/usage.yml 查看文件

@@ -11,7 +11,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 14.x
node-version: 20.x
- name: npm install and build
run: |
npm install
@@ -33,7 +33,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 14.x
node-version: 20.x
- name: Get build-output from build step
uses: actions/download-artifact@v4
with:
@@ -53,7 +53,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x]

needs: package
steps:
@@ -80,7 +80,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [14.x, 16.x, 18.x, 20.x]

needs: package
steps:


+ 3
- 3
.github/workflows/verify.yml 查看文件

@@ -11,7 +11,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 14.x
node-version: 20.x
- run: npm install
- run: npm run test-lint

@@ -20,7 +20,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v4
@@ -43,7 +43,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 14.x
node-version: 20.x
- name: npm install and build
run: |
npm install


正在加载...
取消
保存