Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 20
cache: npm
- name: npm install
run: npm ci
Expand All @@ -29,9 +29,8 @@ jobs:
strategy:
matrix:
node-version:
- 10 # minimum supported version
- 14 # current LTS
- 16 # latest
- 20 # current LTS
- 22 # latest
name: Node.js ${{ matrix.node-version }} test
steps:
- name: Checkout
Expand All @@ -53,22 +52,23 @@ jobs:
strategy:
matrix:
ts-version:
- '3.0'
- '4.0'
- 'latest'
name: Typings tests (typescript@${{ matrix.ts-version }})
- { ts: '4.0', types-node: '17' }
- { ts: 'latest', types-node: '20' }
name: Typings tests (typescript@${{ matrix.ts-version.ts }})
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 20
cache: npm
- name: npm install
run: npm ci
- name: Install typescript@${{ matrix.ts-version }}
run: npm install typescript@${{ matrix.ts-version }}
- name: Install typescript@${{ matrix.ts-version.ts }}
run: npm install typescript@${{ matrix.ts-version.ts }}
- name: Install @types/node@${{ matrix.ts-version.types-node }}
run: npm install @types/node@${{ matrix.ts-version.types-node }}
- name: Run tests
run: npm run test-typings

Expand All @@ -81,7 +81,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 20
cache: npm
- name: npm install
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
Expand Down
Loading
Loading