Merge pull request #8560 from romayalon/romy-online-upgrade-fixes #359
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 Unit Tests | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
run-unit-tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: Run Jest Unit Test | |
run: | | |
sudo apt-get -y install nasm libcap-dev | |
npm install | |
npm run build | |
npm run jest |