Update docker #153
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 and E2E Tests workflow | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Jest and Cypress tests | |
defaults: | |
run: | |
working-directory: ./www | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 🏗 Install modules | |
run: npm install | |
- name: 💻 Run tests and collect coverage | |
run: npm run test && npm run e2e | |
- name: ✅ Upload coverage reports to Codecov with GitHub Action | |
uses: codecov/codecov-action@v3 |