There was an error while loading. Please reload this page.
Lint
1 parent f7c6546 commit 8cf6e6cCopy full SHA for 8cf6e6c
.github/workflows/lint.yml
@@ -0,0 +1,25 @@
1
+name: Lint
2
+
3
+on: [workflow_dispatch, pull_request]
4
5
+jobs:
6
+ lint:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ matrix:
10
+ node-version: [lts/*]
11
+ pnpm-version: [latest]
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - uses: pnpm/action-setup@v2
15
+ with:
16
+ version: ${{ matrix.pnpm-version }}
17
+ - name: Use Node.js ${{ matrix.node-version }}
18
+ uses: actions/setup-node@v2
19
20
+ node-version: ${{ matrix.node-version }}
21
+ cache: 'pnpm'
22
+ - name: Install dependencies
23
+ run: pnpm install
24
+ - name: Lint CI
25
+ run: pnpm lint-ci
0 commit comments