We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a86025 commit 6e66171Copy full SHA for 6e66171
.github/workflows/linter.yml
@@ -0,0 +1,29 @@
1
+name: Portfolio Linter
2
+on:
3
+ push:
4
+ branches: [main]
5
+ pull_request:
6
7
+ types: [opened, synchronize]
8
+
9
+jobs:
10
+ linter:
11
+ name: ✅ Validate linter
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: ⬇️ Checkout project
16
+ uses: actions/checkout@v3
17
18
+ - name: 🟢 Setup NodeJS 18.x
19
+ uses: actions/setup-node@v3
20
+ with:
21
+ node-version: 18.x
22
+ cache: npm
23
+ cache-dependency-path: './package-lock.json'
24
25
+ - name: 📥 Install dependencies
26
+ run: npm ci
27
28
+ - name: 📑 Check lint
29
+ run: npm run lint
0 commit comments