-
Notifications
You must be signed in to change notification settings - Fork 44
34 lines (27 loc) · 728 Bytes
/
lint.yml
File metadata and controls
34 lines (27 loc) · 728 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
name: Lint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v4
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: ${{ matrix.node-version }}
- run: pnpm i -g @microsoft/rush
- run: rush install
- run: rush lint