There was an error while loading. Please reload this page.
1 parent 5db5bfc commit 52f056fCopy full SHA for 52f056f
.github/workflows/main.yml
@@ -0,0 +1,20 @@
1
+name: End-to-end tests
2
+on: [pull_request]
3
+jobs:
4
+ cypress-run:
5
+ runs-on: ubuntu-16.04
6
+ steps:
7
+ - name: Checkout
8
+ uses: actions/checkout@v1
9
+ - name: Use Node.js 12.x
10
+ uses: actions/setup-node@v1
11
+ with:
12
+ node-version: 12.x
13
+ - name: Cypress run
14
+ uses: cypress-io/github-action@v1
15
+ env:
16
+ CYPRESS_baseUrl: "https://deploy-preview-${{ github.event.number }}--nuxt-netlify-functions-example.netlify.com"
17
18
+ record: false
19
+ wait-on: "https://deploy-preview-${{ github.event.number }}--nuxt-netlify-functions-example.netlify.com"
20
+ wait-on-timeout: 90
0 commit comments