-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (65 loc) Β· 1.77 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- name: build
run: npm run test:build
- name: bash
run: npm run test:bash
- name: integration
run: npm run test:integration
- name: e2e
run: npm run test:e2e
- name: coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: tests/coverage/merged/cobertura-coverage.xml
verbose: true
- uses: actions/upload-artifact@v4
if: always()
with:
name: server log
path: dist/log.txt
test-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- name: test-release
run: npm run release:test
lint-and-typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- name: vue-tsc
run: npx vue-tsc --noEmit
- name: eslint
run: npm run lint
- name: super-linter
uses: super-linter/super-linter/slim@v5
env:
VALIDATE_ALL_CODEBASE: true
# JS and TS are already linted in another job
VALIDATE_JAVASCRIPT_ES: false
VALIDATE_JAVASCRIPT_STANDARD: false
VALIDATE_TYPESCRIPT_ES: false
VALIDATE_TYPESCRIPT_STANDARD: false
# Re-enable when #33 is fixed
VALIDATE_JSCPD: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}