Browse Source

feat(workflows): bump node version to 20.10.0

feat/node-20
աɨռɢӄաօռɢ 1 year ago
parent
commit
1032d037f3
  1. 8
      .github/workflows/ci-cd.yml
  2. 6
      .github/workflows/playwright-test-workflow.yml
  3. 2
      .github/workflows/pre-build-for-playwright.yml
  4. 2
      .github/workflows/release-docker.yml
  5. 4
      .github/workflows/release-npm.yml
  6. 2
      .github/workflows/update-sdk-path.yml

8
.github/workflows/ci-cd.yml

@ -40,7 +40,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.14.0
node-version: 20.10.0
- name: Checkout
uses: actions/checkout@v3
with:
@ -59,7 +59,9 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies for packages
run: pnpm bootstrap
run: |
pnpm install -g node-gyp-build node-pre-gyp
pnpm bootstrap
- name: run unit tests
working-directory: ./packages/nocodb
run: pnpm run test:unit
@ -75,7 +77,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.14.0
node-version: 20.10.0
- name: Checkout
uses: actions/checkout@v3
with:

6
.github/workflows/playwright-test-workflow.yml

@ -23,7 +23,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.14.0
node-version: 20.10.0
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
@ -58,7 +58,9 @@ jobs:
- name: Set NC Edition
run: export EE=false
- name: install dependencies
run: pnpm bootstrap
run: |
pnpm install -g node-gyp-build node-pre-gyp
pnpm bootstrap
- name: Setup mysql
if: ${{ inputs.db == 'mysql' }}
working-directory: ./packages/nocodb/tests/mysql-sakila-db

2
.github/workflows/pre-build-for-playwright.yml

@ -13,7 +13,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.14.0
node-version: 20.10.0
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:

2
.github/workflows/release-docker.yml

@ -84,7 +84,7 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 18.14.0
node-version: 20.10.0
- name: upgrade packages for nightly build or pr build
if: ${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}

4
.github/workflows/release-npm.yml

@ -46,11 +46,11 @@ jobs:
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: pnpm Setup and Publish with 18.14.0
- name: pnpm Setup and Publish with 20.10.0
# Setup .npmrc file to publish to npm
uses: actions/setup-node@v3
with:
node-version: 18.14.0
node-version: 20.10.0
registry-url: 'https://registry.npmjs.org'
- run: |
export NODE_OPTIONS="--max_old_space_size=16384"

2
.github/workflows/update-sdk-path.yml

@ -16,7 +16,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.14.0
node-version: 20.10.0
- name: Checkout
uses: actions/checkout@v3
with:

Loading…
Cancel
Save