diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b671226fcdea..943c3f81de6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,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: @@ -48,19 +48,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 @@ -101,13 +101,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: @@ -121,13 +121,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 }} @@ -137,7 +137,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 ] @@ -167,7 +167,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 ] @@ -190,7 +190,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] @@ -227,9 +227,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: @@ -244,7 +244,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 @@ -252,7 +252,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 @@ -260,7 +260,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 @@ -268,7 +268,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 ] @@ -304,7 +304,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 @@ -361,13 +361,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