mirror of
https://github.com/nocobase/nocobase.git
synced 2026-10-30 18:42:22 +08:00
chore(ci): upgrade node version to 20 (#6927)
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 20
|
||||
cache: 'yarn'
|
||||
- run: yarn install
|
||||
- name: Build zh-CN
|
||||
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 20
|
||||
cache: 'yarn'
|
||||
- run: yarn
|
||||
- run: yarn build
|
||||
@@ -105,7 +105,7 @@ jobs:
|
||||
name: Core and plugins
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
container: node:18
|
||||
container: node:20
|
||||
services:
|
||||
# Label used to access the service container
|
||||
postgres:
|
||||
@@ -203,7 +203,7 @@ jobs:
|
||||
name: plugin-workflow
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
container: node:18
|
||||
container: node:20
|
||||
services:
|
||||
# Label used to access the service container
|
||||
postgres:
|
||||
@@ -301,7 +301,7 @@ jobs:
|
||||
name: plugin-workflow-approval
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
container: node:18
|
||||
container: node:20
|
||||
services:
|
||||
# Label used to access the service container
|
||||
postgres:
|
||||
@@ -427,7 +427,7 @@ jobs:
|
||||
name: plugin-data-source-main
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
container: node:18
|
||||
container: node:20
|
||||
services:
|
||||
# Label used to access the service container
|
||||
postgres:
|
||||
@@ -536,7 +536,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 20
|
||||
cache: 'yarn'
|
||||
- run: yarn
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
e2e-test-postgres:
|
||||
strategy:
|
||||
matrix:
|
||||
node_version: ['18']
|
||||
node_version: ['20']
|
||||
runs-on: ubuntu-latest
|
||||
container: node:${{ matrix.node_version }}
|
||||
services:
|
||||
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '20'
|
||||
|
||||
- run: yarn config set network-timeout 600000 -g
|
||||
|
||||
|
||||
Reference in New Issue
Block a user