Skip to content

Commit 1f2f1d0

Browse files
committed
CI: Extract linting to its own workflow
Also bump the dependencies.
1 parent 2bebcd4 commit 1f2f1d0

2 files changed

Lines changed: 25 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ jobs:
4949
- run: npm test
5050
env:
5151
AMQPS_URL: amqps://localhost?insecure
52-
- run: npm run lint
53-
- run: npm run format:check
54-
- run: npm run typecheck
5552

5653
test-browser:
5754
runs-on: ubuntu-latest

.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:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
workflow_dispatch:
9+
10+
jobs:
11+
lint:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 10
14+
steps:
15+
- uses: actions/checkout@v6
16+
- name: Use Node.js
17+
uses: actions/setup-node@v6
18+
with:
19+
node-version: 24.x
20+
- run: npm install
21+
env:
22+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
23+
- run: npm run lint
24+
- run: npm run format:check
25+
- run: npm run typecheck

0 commit comments

Comments
 (0)