change test expectations for FA7 as initial default version #424
This file contains hidden or 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: | |
- "**" | |
pull_request: | |
branches: [master] | |
jobs: | |
jest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: "18" | |
check-latest: true | |
- name: Cache node_module | |
id: node-modules-cache | |
uses: actions/cache@v4 | |
with: | |
path: admin/node_modules | |
key: ${{ runner.os }}-node-modules-${{ hashFiles('admin/package-lock.json') }} | |
- name: Install node dependencies | |
if: steps.node-modules-cache.outputs.cache-hit != 'true' | |
run: cd admin && npm install | |
- name: Run Jest | |
run: cd admin && npm run test |