v2.21.3 #495
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 App | |
on: [push, pull_request] | |
jobs: | |
build: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18] | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Yarn | |
run: | | |
npm install yarn -g | |
- name: install | |
run: | | |
yarn install | |
- name: check types | |
run: | | |
yarn check-types | |
- name: lint | |
run: | | |
yarn lint | |
- name: test | |
run: | | |
yarn test | |
env: | |
CI: true |