-
Notifications
You must be signed in to change notification settings - Fork 4
39 lines (31 loc) · 955 Bytes
/
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
name: Verseghy CI
on: [push]
jobs:
testall:
name: Lint, Build, Test, E2E
strategy:
matrix:
node: [12]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Setup dependencies
run: yarn
#- name: Lint
# run: yarn nx affected:lint --base=origin/master
- name: Format
run: yarn nx format:check --base=origin/master
- name: Build
run: yarn affected:build --prod --no-progress --base=origin/master
- name: Test
run: yarn affected:test --no-progress --base=origin/master
#- name: Webdriver Manager Update
# run: ./node_modules/.bin/webdriver-manager update
#- name: E2E
# run: yarn nx affected:e2e --prod --base=origin/master