Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: test v7 against node 18 #14415

Merged
merged 7 commits into from May 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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