Update codesandbox link #58
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: CI | |
on: [ push, pull_request ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16.14.2 | |
- name: Cache node modules | |
id: node-modules-cache | |
uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: node_modules-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | |
- run: yarn install --immutable | |
if: steps.node-modules-cache.outputs.cache-hit != 'true' | |
- run: yarn typecheck | |
- run: yarn lint | |
- run: yarn test --ci --runInBand | |
- name: Test Summary | |
uses: test-summary/action@v1 | |
with: | |
paths: "test-reports/junit.xml" | |
if: always() |