Merge pull request #3845 from TrainLCD/hotfix/accuracy #7193
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: Jest | |
on: | |
push: | |
branches: | |
- '**' | |
paths: | |
- 'package.json' | |
- 'package-lock.json' | |
- 'src/**' | |
env: | |
cache-version: v1 | |
TZ: 'Asia/Tokyo' | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
ssh-key: ${{ secrets.FONTS_SSH_KEY }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run Jest | |
run: npm test |