Skip to content

Commit 676d170

Browse files
committed
Create lint.yml
1 parent 62680e1 commit 676d170

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/lint.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: lint
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
- "dev"
8+
9+
pull_request:
10+
branches:
11+
- "*"
12+
13+
jobs:
14+
lint:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout Repository
19+
uses: actions/checkout@v2
20+
21+
- name: Set Up Node.js
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: 18
25+
26+
- name: Install Dependencies
27+
run: |
28+
cd functions
29+
npm install
30+
31+
- name: Run ESLint
32+
run: |
33+
cd functions
34+
npm run lint

0 commit comments

Comments
 (0)