Skip to content

Commit

Permalink
Merge pull request #1 from h-sphere/chore/run-tests-in-matrix
Browse files Browse the repository at this point in the history
chore: run tests in matrix to ensure compatibility
  • Loading branch information
kulak-at authored Jan 13, 2024
2 parents f43a5f0 + f2c98a6 commit 4acfffb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,18 @@ on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 20.x, 21.x] # Define Node.js versions
typescript-version: ['3.9', '4.0', '4.3'] # Define TypeScript versions
steps:
- uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install TypeScript
run: npm install -g typescript@${{ matrix.typescript-version }}
- name: Remove .npmrc
run: rm .npmrc
- name: Get yarn cache
Expand Down

0 comments on commit 4acfffb

Please sign in to comment.