Skip to content

Commit acf6b6e

Browse files
committed
Add lint job for front-end (should fail)
1 parent 8c98e37 commit acf6b6e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/coder.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,28 @@ jobs:
3838
with:
3939
version: latest
4040

41+
style-lint-typescript:
42+
name: "style/lint/typescript"
43+
runs-on: ubuntu-latest
44+
steps:
45+
- name: Checkout
46+
uses: actions/checkout@v2
47+
48+
- name: Cache Node
49+
id: cache-node
50+
uses: actions/cache@v2
51+
with:
52+
path: |
53+
**/node_modules
54+
.eslintcache
55+
key: js-${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }}
56+
57+
- name: Install node_modules
58+
run: yarn install
59+
60+
- name: "yarn lint"
61+
run: yarn lint
62+
4163
gen:
4264
name: "style/gen"
4365
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)