Skip to content

Commit 1402ccb

Browse files
Merge pull request w3c-cg#8 from w3c-cg/ci-lint
Create linting GH workflow
2 parents 1a6f814 + 9c5afd0 commit 1402ccb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: "lts/*"
17+
- run: npm i -g awesome-lint
18+
- run: awesome-lint

0 commit comments

Comments
 (0)