forked from janus-idp/backstage-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (34 loc) · 907 Bytes
/
pr.yaml
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: Pull request
on: pull_request
jobs:
test:
name: Test with Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20]
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
with:
fetch-depth: 0
- name: Test
uses: ./.github/actions/test
with:
args: '[HEAD^1]'
node-version: ${{ matrix.node-version }}
build:
name: Build all packages with Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20]
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
with:
fetch-depth: 0
- name: Build
uses: ./.github/actions/build
with:
args: '[HEAD^1]'