Run tests as part of the CI build. #206
Workflow file for this run
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
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Code Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "lts/*" | |
| cache: 'npm' | |
| - name: Install node dependencies | |
| run: npm ci --timing | |
| - name: Lint javascript | |
| run: npm run lint | |
| - name: Run tests | |
| run: npm run test-site-dev & sleep 20; npm run cucumber |