Support for generating SVG components without .defaultProps
#35
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: 'Tests: node.js' | |
on: [pull_request, push] | |
jobs: | |
matrix: | |
runs-on: ubuntu-latest | |
outputs: | |
latest: ${{ steps.set-matrix.outputs.requireds }} | |
steps: | |
- uses: ljharb/actions/node/matrix@main | |
id: set-matrix | |
with: | |
versionsAsRoot: true | |
type: 'majors' | |
preset: '10.13 || >=10.13' | |
test: | |
needs: [matrix] | |
name: 'latest majors' | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: ${{ fromJson(needs.matrix.outputs.latest) }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ljharb/actions/node/install@main | |
name: 'nvm install ${{ matrix.node-version }} && npm install' | |
with: | |
node-version: ${{ matrix.node-version }} | |
skip-ls-check: true | |
- run: npm run tests-only | |
- uses: codecov/codecov-action@v1 | |
node: | |
name: 'node.js' | |
needs: [test] | |
runs-on: ubuntu-latest | |
steps: | |
- run: 'echo tests completed' |