Skip to content

Commit

Permalink
pin typescript for node 12
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierCavadenti committed Jul 4, 2023
1 parent 1fac563 commit bd9e97b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
"${{ matrix.database-type }}"
if: matrix.database-type != 'sqlite3' && matrix.database-type != 'better-sqlite3'

# https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-1.html#es2020-and-nodejs-1417-as-minimum-runtime-requirements
- name: Run npm install typescript@5.0.4 if Node 12.x
run: npm install typescript@5.0.4
if: matrix.node-version == '12.x'

- name: Run npm install
run: npm install

Expand Down Expand Up @@ -112,7 +117,7 @@ jobs:
with:
always-auth: false
node-version: ${{ matrix.node-version }}

- name: Test npm git dependency
shell: bash
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
always-auth: false
node-version: ${{ matrix.node-version }}

- name: Run npm install mysql2@3.2.0 and typescript@5.0.4 if Node 12.x
run: npm install mysql2@3.2.0 typescript@5.0.4
if: matrix.node-version == '12.x'

- name: Run npm install
run: npm install

- name: Run npm install mysql2@3.2.0 if Node 12.x
run: npm install mysql2@3.2.0
if: matrix.node-version == '12.x'

- run: npm run build

- name: Run Tests
Expand Down

0 comments on commit bd9e97b

Please sign in to comment.