This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
feat: add backend (#3) #7
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: Run e2e tests | |
on: | |
# pull_request: | |
# branches: | |
# - main | |
jobs: | |
e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Run E2E tests | |
run: npm run test:e2e | |
- name: Archive e2e artifacts | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: e2e-artifacts | |
path: | | |
cypress/videos | |
cypress/screenshots | |
continue-on-error: true |