Skip to content

Commit 9c20cd9

Browse files
committed
ci: add gitlab cloud config
1 parent c0edd54 commit 9c20cd9

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/cypress.yml

+12-14
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Cypress
1+
name: Cypress Test
22

33
on: [push]
44

@@ -11,17 +11,15 @@ jobs:
1111
ports:
1212
- 8025:8025
1313
- 1025:1025
14+
strategy:
15+
fail-fast: false # https://github.com/cypress-io/github-action/issues/48
16+
matrix:
17+
containers: [ 1 ]
1418
steps:
15-
- uses: actions/checkout@v1
16-
- name: Install Dependencies
17-
run: |
18-
npm install
19-
- name: Lint App
20-
run: |
21-
npm run check
22-
- name: Build App
23-
run: |
24-
npm run build
25-
- name: Run Cypress Tests
26-
run: |
27-
npm run cy:run
19+
- uses: actions/checkout@v4
20+
- name: Cypress run
21+
uses: cypress-io/github-action@v6
22+
with:
23+
build: npm run build
24+
wait-on: 'http://localhost:8025'
25+
record: false

.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.github/
22
cypress/
33
.biome.json
4+
cypress.config.ts

cypress.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { defineConfig } from "cypress";
22

33
// noinspection JSUnusedGlobalSymbols
44
export default defineConfig({
5+
projectId: "ko5dq3",
56
video: false,
67
e2e: {
78
setupNodeEvents(_on, _config) {},

0 commit comments

Comments
 (0)