-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (52 loc) · 1.27 KB
/
cypress.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Cypress Tests
permissions:
# required by aws-actions/configure-aws-credentials
id-token: write
contents: read
on:
push:
branches:
- main
pull_request:
types: ['review_requested']
workflow_dispatch:
jobs:
build:
name: Build Gateway
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile --immutable
- name: Build project
run: yarn build
- name: 'Zip build'
run: zip -r -q build.zip ./build
- name: 'Upload build'
uses: actions/upload-artifact@v4
with:
name: build
path: build.zip
retention-days: 1
cypress-mocked:
needs: build
uses: ./.github/workflows/cypress-mocked.yml
secrets: inherit
cypress-mocked-okta:
needs: build
uses: ./.github/workflows/cypress-mocked-okta.yml
secrets: inherit
cypress-ete:
needs: build
uses: ./.github/workflows/cypress-ete.yml
secrets: inherit
cypress-ete-okta:
needs: build
uses: ./.github/workflows/cypress-ete-okta.yml
secrets: inherit