fix(types): use typesVersions to map the types for non module resolution #1579
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Package | |
on: | |
pull_request: | |
branches: | |
- '**' | |
concurrency: | |
group: tests-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test_matrix: | |
strategy: | |
fail-fast: true | |
matrix: | |
version: | |
- 18 | |
- 20 | |
name: test and build package (node ${{ matrix.version }}) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.version }} | |
- run: npm ci | |
- run: npm run test:ci | |
test_all: | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
name: Test (matrix) | |
needs: test_matrix | |
steps: | |
- name: Check test matrix status | |
if: ${{ needs.test_matrix.result != 'success' }} | |
run: exit 1 |