-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (25 loc) · 758 Bytes
/
test.yml
File metadata and controls
29 lines (25 loc) · 758 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
name: Test
on: push
jobs:
Lint:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
run_install: false
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v6
with:
node-version: 24
cache: "pnpm"
- name: Install node dependencies
# Skip install scripts, otherwise we build nodegit on `npm install`.
run: |
pnpm install --ignore-scripts --frozen-lockfile
# cd node_modules/nodegit && pnpm install && node generate
- name: Run lint
run: pnpm run format:check && pnpm run lint