Skip to content

Commit

Permalink
Test: Cypress GitHub Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ckrb63 committed Mar 2, 2024
1 parent fc14c62 commit d288d5b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Cypress E2E Test

on: push

jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
run: npm install -g pnpm
- name: npm ci
run: pnpm install --frozen-lockfile
- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: pnpm run build
start: pnpm run dev
env:
id: ${{ secrets.TESTING_ID }}
pw: ${{ secrets.TESTING_PW }}
host: ${{ secrets.TESTING_HOST }}

0 comments on commit d288d5b

Please sign in to comment.