File tree Expand file tree Collapse file tree 2 files changed +22
-35
lines changed
Expand file tree Collapse file tree 2 files changed +22
-35
lines changed Original file line number Diff line number Diff line change 1- name : Test
1+ name : CI
22
33on :
44 push :
77 branches : [main]
88
99env :
10- # Output colored text
10+ # Always try to output colored text.
1111 FORCE_COLOR : 1
1212
1313jobs :
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+ with :
28+ node-version : lts/*
29+ cache : pnpm
30+ - name : Install dependencies
31+ run : pnpm install
32+ - name : Lint files
33+ run : pnpm lint
1434 test :
1535 name : Test on ${{ matrix.os }} using Node.js v${{ matrix.node }}
1636 continue-on-error : true
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments