mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
chore: bump gha node to v16 (#9685)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user