Skip to content

Commit 971b9b0

Browse files
authored
Merge pull request #164 from hyperweb-io/lint-ci
Add lint job to CI
2 parents cc2856c + adf349c commit 971b9b0

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/lint.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
name: Lint
3+
4+
on:
5+
pull_request:
6+
push:
7+
branches: [ "main" ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Use Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '20.x'
21+
cache: 'yarn'
22+
23+
- name: Install dependencies
24+
run: yarn install --immutable --immutable-cache --check-cache
25+
26+
- name: Build
27+
run: yarn build
28+
29+
- name: Lint
30+
run: yarn lint

0 commit comments

Comments
 (0)