Skip to content

Commit

Permalink
updated cypress yml
Browse files Browse the repository at this point in the history
Signed-off-by: Ketul Shah <[email protected]>
  • Loading branch information
ketulsha committed Oct 11, 2023
1 parent 8f949ae commit 75c42b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
node-version: 18.x
- run: npm install
- run: npm ci --legacy-peer-deps
- run: npm cp-appoloSrc
- run: npm cp-esbuild
- run: npm run lint

audit:
Expand All @@ -42,6 +44,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 18.x
- run: npm install
- run: npm ci --legacy-peer-deps
- run: npm run build

Expand All @@ -53,5 +56,6 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 18.x
- run: npm install
- run: npm ci --legacy-peer-deps
- run: npm test
3 changes: 2 additions & 1 deletion packages/cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"description": "Cypress automation tests for console",
"main": "index.js",
"scripts": {
"cp": "cp ../stitch/dist/* public/",
"cp-appoloSrc": "cp -r ../apollo/src .",
"cp-esbuild": "cp ../apollo/esbuild.js .",
"start": "npm run cp && npm run build",
"build": "node esbuild.js",
"test": "jest",
Expand Down

0 comments on commit 75c42b9

Please sign in to comment.