Feat: Aggiornamento colori per accessibilità - modifica utilizzo cach… #24
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 Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
jest-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install modules | |
run: npm ci | |
- name: Start test server | |
run: | | |
npm run test:server & | |
sleep 5 | |
- name: Test server response | |
run: curl -I http://localhost:9999 | |
- name: Run Jest tests | |
run: npm run test |