do not set inProgress to early, otherwise user cannot click save agai… #291
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: Build & Test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-npm- | |
- run: npm ci | |
- run: npm run build | |
- name: Unit tests | |
run: npm test | |
- name: E2E tests | |
run: e2e/run.sh | |
env: | |
PROJECT_GITHUB: ${{secrets.PROJECT_GITHUB}} |