ts CI #359
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: ts CI | |
on: | |
push: | |
paths: | |
- 'ts/**' | |
- '.github/workflows/ts**' | |
pull_request: | |
paths: | |
- 'ts/**' | |
- '.github/workflows/ts**' | |
schedule: | |
# weekly build every FRI | |
- cron: "0 6 * * 5" | |
jobs: | |
matrix_build: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ ubuntu-latest, macOS-latest, windows-latest ] | |
node-version: [ 10.x, 12.x, 14.x, 15.x ] | |
name: Node.js ${{ matrix.node-version }} Build on ${{ matrix.operating-system }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node-version }} | |
### ts/ | |
- name: typescript-jest | |
working-directory: ts/typescript-jest | |
run: | | |
yarn install | |
yarn check-types | |
yarn lint | |
yarn test:ensure-failure | |
- name: typescript-jest-fast-check | |
working-directory: ts/typescript-jest-fast-check | |
run: | | |
yarn install | |
yarn check-types | |
yarn lint | |
yarn test:ensure-failure |