Skip to content

Merge pull request #182 from wearefuturegov/develop #505

Merge pull request #182 from wearefuturegov/develop

Merge pull request #182 from wearefuturegov/develop #505

Workflow file for this run

name: CI
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
- name: Run unit tests
run: npm run test:unit
- name: Integration tests
uses: cypress-io/github-action@v6
with:
# build: npm run build
start: npm run dev
wait-on: http://localhost:3000
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
- uses: actions/upload-artifact@v3
if: always()
with:
name: cypress-videos
path: cypress/videos