Skip to content

build(test): update pnpm ci setup #55

build(test): update pnpm ci setup

build(test): update pnpm ci setup #55

Workflow file for this run

---
name: Run E2E tests on new code in master
'on':
push:
branches:
- master
jobs:
cypress-run:
runs-on: ubuntu-20.04
container:
image: cypress/browsers:node18.12.0-chrome107
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: '19'
cache: 'pnpm'
- run: pnpm install
- name: Cypress run
uses: cypress-io/github-action@v6
with:
browser: chrome
start: npm run serve
wait-on: 'http://127.0.0.1:4321'
wait-on-timeout: 360
- name: Upload E2E run data as artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: e2e-run-data
path: |
/home/runner/work/forgingmodernity.com/forgingmodernity.com/cypress/screenshots/*
/home/runner/work/forgingmodernity.com/forgingmodernity.com/cypress/videos/*
retention-days: 14