Skip to content

Commit

Permalink
test: add nodejs nightly and ts rc to the test matrix (#888)
Browse files Browse the repository at this point in the history
* test: run ts smokes on ts@rc

* chore(deps): update madge to v8.0.0

* ci(test): run autotests every 4 days

* test: add nodejs 22-nightly to smoke tests matrix

* chore: lint test.yml

* test(smoke-ts): add --force to ignore ts version requirements

* test(smoke-ts): ensure tsc version
  • Loading branch information
antongolub authored Sep 8, 2024
1 parent 11699e0 commit bff3551
Show file tree
Hide file tree
Showing 3 changed files with 518 additions and 249 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Test

on: [push, pull_request]
on:
push:
pull_request:
schedule:
- cron: '0 12 */4 * *'

jobs:
build:
Expand Down Expand Up @@ -148,7 +152,7 @@ jobs:
needs: build
strategy:
matrix:
node-version: [12, 14, 16, 18, 20, 22]
node-version: [12, 14, 16, 18, 20, 22, 22-nightly]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -168,7 +172,7 @@ jobs:
needs: build
strategy:
matrix:
ts: [4, 5]
ts: [4, 5, rc]
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22.x
Expand All @@ -178,9 +182,7 @@ jobs:
- name: Install deps
run: npm ci
- name: Install TypeScript ${{ matrix.ts }}
run: |
npm i typescript@${{ matrix.ts }}
tsc -v
run: npm i --force --no-package-lock typescript@${{ matrix.ts }}
- uses: actions/download-artifact@v4
with:
name: build
Expand Down
Loading

0 comments on commit bff3551

Please sign in to comment.