chore: bump gha node to v16 (#9685)

This commit is contained in:
Tony
2022-05-03 20:10:10 +08:00
committed by GitHub
parent ac7b3666d8
commit 1dfc101a59
5 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -14,10 +14,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js v14
- name: Use Node.js v16
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 16
cache: 'yarn'
- name: Build file
run: yarn && npm run build:all
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 16
cache: 'yarn'
- run: yarn install
- run: npm run format
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 16
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- name: Release
+2 -2
View File
@@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 16
cache: 'yarn'
- run: yarn
- name: Lint
@@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 16
cache: 'yarn'
- run: yarn
- name: Lint
+4 -4
View File
@@ -16,7 +16,7 @@ jobs:
options: --entrypoint redis-server
strategy:
matrix:
node-version: [ '14', '16' ]
node-version: [ 14, 16 ]
name: Jest on Node ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v3
@@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ '14', '16' ]
node-version: [ 14, 16 ]
chromium:
- name: bundled Chromium
dependency: ''
@@ -81,7 +81,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ '14', '16' ]
node-version: [ 14, 16 ]
name: Build docs on Node ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v3
@@ -97,7 +97,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ '14', '16' ]
node-version: [ 14, 16 ]
name: Build radar and maintainer on Node ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v3