-
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 908 Bytes
/
node.js.yml
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
40
41
42
43
name: Node.js CI
on:
pull_request:
types: [opened, synchronize]
push:
branches: [main]
tags: ['!*']
jobs:
lint:
name: Lint
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm format-check
test:
name: Testing ${{ matrix.name }} presets
runs-on: ubuntu-24.04
strategy:
matrix:
name: [automerge, base, default, docker]
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm test
env:
RENOVATE_CONFIG_FILE: ${{ matrix.name }}.json