From 42f43d40e78e7a09c1895693189568e949800d9c Mon Sep 17 00:00:00 2001 From: ephys Date: Wed, 20 Apr 2022 09:21:56 +0200 Subject: [PATCH] ci: test against node 18 --- .github/workflows/ci.yml | 48 ++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfc61745af5e..f52a637a729d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [14, 16] + node-version: [14, 18] name: Upload install and build artifact (Node ${{ matrix.node-version }}) runs-on: ubuntu-latest steps: @@ -42,19 +42,19 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 18.x cache: yarn - uses: actions/download-artifact@v3 with: - name: install-build-artifact-node-16 + name: install-build-artifact-node-18 - name: Extract artifact - run: tar -xf install-build-node-16.tar + run: tar -xf install-build-node-18.tar - run: yarn lint-no-fix unit-test: strategy: fail-fast: false matrix: - node-version: [14, 16] + node-version: [14, 18] name: Unit test all dialects (Node ${{ matrix.node-version }}) runs-on: ubuntu-latest needs: lint @@ -93,13 +93,13 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 18.x cache: yarn - uses: actions/download-artifact@v3 with: - name: install-build-artifact-node-16 + name: install-build-artifact-node-18 - name: Extract artifact - run: tar -xf install-build-node-16.tar + run: tar -xf install-build-node-18.tar - run: yarn docs test-typings: strategy: @@ -113,13 +113,13 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 18.x cache: yarn - uses: actions/download-artifact@v3 with: - name: install-build-artifact-node-16 + name: install-build-artifact-node-18 - name: Extract artifact - run: tar -xf install-build-node-16.tar + run: tar -xf install-build-node-18.tar # This step uses npm instead of yarn to minimize the time needed. See #14171 - name: Install TypeScript run: npm install --no-save --no-audit typescript@~${{ matrix.ts-version }} @@ -129,7 +129,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [14, 16] + node-version: [14, 18] name: DB2 (Node ${{ matrix.node-version }}) runs-on: ubuntu-latest needs: [ unit-test, test-typings ] @@ -159,7 +159,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [14, 16] + node-version: [14, 18] name: SQLite (Node ${{ matrix.node-version }}) runs-on: ubuntu-latest needs: [ unit-test, test-typings ] @@ -182,7 +182,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [14, 16] + node-version: [14, 18] postgres-version: [9.5, 10] minify-aliases: [true, false] native: [true, false] @@ -219,9 +219,9 @@ jobs: run: yarn add pg-native --ignore-engines if: matrix.native && matrix.node-version == 14 # This step uses npm instead of yarn to minimize the time needed. See #14171 - - name: Install pg-native (Node 16) + - name: Install pg-native (Node 18) run: npm install --no-save --no-audit pg-native - if: matrix.native && matrix.node-version == 16 + if: matrix.native && matrix.node-version == 18 - name: Integration Tests run: yarn test-integration test-mysql-mariadb: @@ -236,7 +236,7 @@ jobs: - name: MySQL 5.7 image: mysql:5.7.37 dialect: mysql - node-version: 16 + node-version: 18 - name: MySQL 8.0 image: mysql:8.0.28 dialect: mysql @@ -244,7 +244,7 @@ jobs: - name: MySQL 8.0 image: mysql:8.0.28 dialect: mysql - node-version: 16 + node-version: 18 - name: MariaDB 10.3 image: mariadb:10.3.34 dialect: mariadb @@ -252,7 +252,7 @@ jobs: - name: MariaDB 10.3 image: mariadb:10.3.34 dialect: mariadb - node-version: 16 + node-version: 18 - name: MariaDB 10.5 image: mariadb:10.5 dialect: mariadb @@ -260,7 +260,7 @@ jobs: - name: MariaDB 10.5 image: mariadb:10.5 dialect: mariadb - node-version: 16 + node-version: 18 name: ${{ matrix.name }} (Node ${{ matrix.node-version }}) runs-on: ubuntu-latest needs: [ unit-test, test-typings ] @@ -296,7 +296,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [14, 16] + node-version: [14, 18] mssql-version: [2017, 2019] name: MSSQL ${{ matrix.mssql-version }} (Node ${{ matrix.node-version }}) runs-on: ubuntu-latest @@ -353,13 +353,13 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 18.x cache: yarn - uses: actions/download-artifact@v3 with: - name: install-build-artifact-node-16 + name: install-build-artifact-node-18 - name: Extract artifact - run: tar -xf install-build-node-16.tar + run: tar -xf install-build-node-18.tar - run: yarn semantic-release - id: sequelize uses: sdepold/github-action-get-latest-release@master