-
Notifications
You must be signed in to change notification settings - Fork 10
36 lines (32 loc) · 835 Bytes
/
Copy pathcypress.yml
File metadata and controls
36 lines (32 loc) · 835 Bytes
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
name: Cypress
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
cypress:
runs-on: ubuntu-latest
env:
NODE_ENV: test
SQLITE:
db.db
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
with:
node-version: 24.x
cache: "npm"
# Installs packages
- run: npm ci
# Tests the project with cypress
- run: npm run start:test & npm run cypress