Skip to content

Commit 8cf6e6c

Browse files
committed
Created Lint GitHub workflow.
1 parent f7c6546 commit 8cf6e6c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/lint.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
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

Comments
 (0)