Skip to content

Commit de0461d

Browse files
author
Tiffany Le-Nguyen
committed
chore: add action
1 parent 7636fd2 commit de0461d

File tree

3 files changed

+34
-4
lines changed

3 files changed

+34
-4
lines changed

.github/workflows/cypress-demo.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Run e2e
2+
on:
3+
pull_request:
4+
types: [opened, labeled, unlabeled, synchronize]
5+
push:
6+
branches:
7+
- main
8+
jobs:
9+
cypress:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
containers: [1, 2, 3, 4, 5, 6]
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Checkout @netlify/wait-for-deploy-action
20+
uses: actions/checkout@v2
21+
with:
22+
repository: netlify/wait-for-deploy-action
23+
token: ${{ secrets.PKG_RELEASE_TOKEN }} # token exposed to all Netlify repos
24+
path: ./netlify-actions/wait-for-netlify-deploy
25+
- name: Wait for Netlify Deploy
26+
id: deploy
27+
uses: ./netlify-actions/wait-for-netlify-deploy
28+
with:
29+
site-name: netlify-plugin-nextjs-demo
30+
- name: Deploy successful
31+
if: ${{ steps.deploy.outputs.origin-url }}
32+
run: echo ${{ steps.deploy.outputs.origin-url }}

cypress/config/nx-demo.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44
"pluginsFile": "../../cypress/plugins",
55
"screenshotsFolder": "../../cypress/screenshots",
66
"supportFile": "../../cypress/support/index.js",
7-
"videoFolder": "../../cypress/videos",
8-
"projectId": "ijcdpo"
7+
"videoFolder": "../../cypress/videos"
98
}

cypress/config/static-root.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44
"pluginsFile": "../../cypress/plugins",
55
"screenshotsFolder": "../../cypress/screenshots",
66
"supportFile": "../../cypress/support/index.js",
7-
"videoFolder": "../../cypress/videos",
8-
"projectId": "3tvrbe"
7+
"videoFolder": "../../cypress/videos"
98
}

0 commit comments

Comments
 (0)