Skip to content

Commit 971caa0

Browse files
chore: add lint.yml to run ESLint in CI (#47)
1 parent ff9a0e6 commit 971caa0

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/actions/prepare/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ description: Prepares the repo for a typical CI job
44
runs:
55
using: "composite"
66
steps:
7-
- uses: actions/checkout@v3
87
- uses: actions/setup-node@v3
98
with:
109
node-version: "18"

.github/workflows/lint.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: ./.github/actions/prepare
15+
- run: yarn lint

0 commit comments

Comments
 (0)