This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
Update example app #65
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: Unit tests | |
on: | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.12.0 | |
cache: 'yarn' | |
- name: Install node dependencies | |
run: yarn | |
- name: Run unit tests for the library | |
run: yarn test -- src/__tests__/*.test.tsx |