-
Notifications
You must be signed in to change notification settings - Fork 28
54 lines (54 loc) · 1.31 KB
/
main.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
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- "**"
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.16.1
- name: Install
run: yarn install --immutable
- name: Build
run: yarn build
- name: Unit Tests
run: yarn test
- name: Check Spells
run: yarn check:spell
- name: Check Format
run: yarn check:format
- name: Check Types
run: yarn check:ts
- name: Code coverage report
uses: codecov/codecov-action@v2
with:
yml: ./codecov.yml
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittest
name: codecov
eslint-v8:
name: ESLint v8
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.16.1
- name: Install
run: yarn install --immutable
- name: Build
run: yarn build
- name: (v8) Install
working-directory: integration-test-projects/v8
run: yarn install --immutable
- name: (v8) Print config
working-directory: integration-test-projects/v8
run: yarn run print-config