Configure Renovate - autoclosed #106
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 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
test_matrix: | |
strategy: | |
matrix: | |
node-version: | |
- 10 | |
- 12 | |
- 14 | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run build | |
- run: npx tsd | |
- run: npx jest --forceExit | |
# separate job to set as required in branch protection, | |
# as the above change each time the Node versions change | |
test: | |
runs-on: ubuntu-latest | |
needs: test_matrix | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run build | |
- run: npx tsd | |
- run: npx jest --coverage --force-exit | |
- name: codecov | |
run: npx codecov | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |