-
-
Notifications
You must be signed in to change notification settings - Fork 24
45 lines (37 loc) · 1.05 KB
/
ci.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
name: CI
on:
push:
branches: [main]
workflow_dispatch:
permissions: read-all
jobs:
cypress-ci:
name: CPE Cypress CI
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
steps:
- name: Checkout for testing
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
with:
ref: main
persist-credentials: false
- name: Use Node.js LTS version
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: lts/Hydrogen
- name: Install Dependencies
run: npm ci
- name: Cypress run component testing
uses: cypress-io/github-action@1b70233146622b69e789ccdd4f9452adc638d25a
with:
command-prefix: "--"
install: false
component: true
browser: chrome
record: true
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_CPE_SWS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_PROJECT_ID: vwwffz