-
Notifications
You must be signed in to change notification settings - Fork 23
33 lines (30 loc) · 893 Bytes
/
subfolder.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
name: subfolder
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Print versions
run: |
which npm
npm --version
which yarn
yarn --version
# first, install dependencies and Cypress
# from the root folder using the lock file
# note: because there is lerna.json file and lerna dependency
# the single "yarn" install in the root
# will install packages in all subfolders and link them
- name: Cypress install
uses: cypress-io/github-action@v2
with:
runTests: false
# now run the tests from the subfolder
- name: Cypress run
uses: cypress-io/github-action@v2
with:
install: false
working-directory: packages/e2e
start: yarn start-server