We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ebf493 commit 4effcf5Copy full SHA for 4effcf5
2 files changed
.github/workflows/test.yml .github/workflows/ci.yml.github/workflows/test.yml renamed to .github/workflows/ci.yml
@@ -1,4 +1,4 @@
1
-name: Test
+name: CI
2
3
on:
4
push:
@@ -7,10 +7,30 @@ on:
7
branches: [main]
8
9
env:
10
- # Output colored text
+ # Always try to output colored text.
11
FORCE_COLOR: 1
12
13
jobs:
14
+ lint:
15
+ name: Lint
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Checkout repository
19
+ uses: actions/checkout@v5
20
+ - name: Setup pnpm
21
+ uses: pnpm/action-setup@v4
22
+ with:
23
+ version: latest
24
+ run_install: false
25
+ - name: Setup Node.js
26
+ uses: actions/setup-node@v5
27
28
+ node-version: lts/*
29
+ cache: pnpm
30
+ - name: Install dependencies
31
+ run: pnpm install
32
+ - name: Lint files
33
+ run: pnpm lint
34
test:
35
name: Test on ${{ matrix.os }} using Node.js v${{ matrix.node }}
36
continue-on-error: true
.github/workflows/lint.yml
0 commit comments