-
-
Notifications
You must be signed in to change notification settings - Fork 46
39 lines (39 loc) 路 923 Bytes
/
Copy pathnodejs-pr.yml
File metadata and controls
39 lines (39 loc) 路 923 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
34
35
36
37
38
39
name: Node PR CI
permissions:
contents: write
on:
- pull_request
jobs:
build:
runs-on: ubuntu-latest
env:
NAME: putout
strategy:
matrix:
node-version:
- 22.x
- 24.x
- 26.x
steps:
- uses: actions/checkout@v7
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
- name: Install Redrun
run: bun install redrun madrun -g --no-save
- name: Install
run: bun install -f
- name: Init Madrun
run: madrun --init
- name: Lint
run: redrun lint
- name: Typos
uses: coderaiser/typos.ai@v1.1.8
with:
key: ${{ secrets.TYPOS_AI_KEY }}
- name: Coverage
run: redrun coverage report