-
Notifications
You must be signed in to change notification settings - Fork 16
42 lines (39 loc) · 1.11 KB
/
quality.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: Quality tools
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node with version 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Run Lint
run: npm run lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node with version 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Prepare test
run: npm run pretest
- name: Run tests
uses: DevExpress/testcafe-action@latest
with:
version: "1.18.6"
args: "all tests/e2e.ts --app 'npx sirv tests --port 5000'"
skip-install: true