Skip to content

Commit

Permalink
ci: test against node 18 (sequelize#14415)
Browse files Browse the repository at this point in the history
Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
  • Loading branch information
2 people authored and vanthome committed Jun 11, 2022
1 parent 47b64a7 commit 651c8a6
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/ci.yml
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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 }}
Expand All @@ -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 ]
Expand Down Expand Up @@ -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 ]
Expand All @@ -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]
Expand Down Expand Up @@ -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:
Expand All @@ -244,31 +244,31 @@ 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
node-version: 14
- 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
node-version: 14
- 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
node-version: 14
- 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 ]
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 651c8a6

Please sign in to comment.