-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (36 loc) · 865 Bytes
/
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
name: Cypress Tests
on:
pull_request:
branches: [ main, master ]
paths:
- '**.ts'
- '**.js'
- '.github/workflows/cypress.yml'
env:
CARGO_TERM_COLOR: always
ENVIRONMENT: development
GH_TOKEN: ${{ github.token }}
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Clone search and replace
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
repository: forgetso/search-replace
path: search-replace
- name: Install dependencies
run: |
cd search-replace
ls .
npm install
- name: Run search and replace tests
run: |
cd search-replace
npm run start 1>server.log 2>&1 &
npm run cypress:run