-
-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (29 loc) · 717 Bytes
/
lint.yml
File metadata and controls
36 lines (29 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Lint
on:
pull_request:
env:
NODE_VERSION: "lts/*"
PNPM_VERSION: 10
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- name: Code Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
run_install: false
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: "pnpm"
cache-dependency-path: pnpm-lock.yaml
- name: Install Dependencies
run: pnpm i
- name: Code Linting
run: pnpm lint