Skip to content

Commit fbcf28a

Browse files
committed
feat(ci): add app job
1 parent dde3ad4 commit fbcf28a

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,27 @@ jobs:
3030
- name: build
3131
env:
3232
NODE_OPTIONS: "--max_old_space_size=4096"
33-
run: npm -w @index-san/core run build
33+
run: npm -w @index-san/core run build
34+
35+
app:
36+
name: app
37+
runs-on: windows-2022
38+
steps:
39+
- uses: actions/checkout@v3
40+
41+
- uses: actions/setup-node@v3
42+
with:
43+
node-version: 20.4.0
44+
cache: 'npm'
45+
46+
- name: install
47+
run: npm install
48+
49+
- name: lint
50+
run: npm -w @index-san/app run lint
51+
52+
- name: test
53+
run: npm -w @index-san/app run test
54+
55+
- name: build
56+
run: npm -w @index-san/app run build

packages/app/.eslintrc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
"sourceType": "module"
1212
},
1313
"rules": {
14-
"@typescript-eslint/no-var-requires": "off"
14+
"@typescript-eslint/no-var-requires": "off",
15+
"vue/multi-word-component-names": "off",
16+
"vue/no-setup-props-destructure": "off",
17+
"vue/one-component-per-file": "off",
18+
"vue/no-v-html": "off",
19+
"vue/no-v-text-v-html-on-component": "off"
1520
}
1621
}

0 commit comments

Comments
 (0)