Skip to content

Commit

Permalink
use cypress start
Browse files Browse the repository at this point in the history
  • Loading branch information
aarol committed Jun 14, 2023
1 parent 35cb36e commit bd17ebd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,14 @@ on:
jobs:
cypress-run:
runs-on: ubuntu-latest
defaults:
run:
working-directory: './client'
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm i -g pnpm
- run: pnpm install && (pnpm dev &)
- run: pnpm -C ../functions install && (pnpm -C ../functions serve &)
- name: Cypress run
uses: cypress-io/github-action@v5
with:
working-directory: client
start: pnpm -r run dev
2 changes: 1 addition & 1 deletion functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"lint": "eslint --ext .js,.ts .",
"build": "tsc",
"build:watch": "tsc --watch",
"serve": "pnpm run build && firebase emulators:start --only functions",
"dev": "pnpm run build && firebase emulators:start --only functions",
"shell": "pnpm run build && firebase functions:shell",
"start": "pnpm run shell",
"deploy": "firebase deploy --only functions",
Expand Down

0 comments on commit bd17ebd

Please sign in to comment.