-
Notifications
You must be signed in to change notification settings - Fork 255
35 lines (33 loc) · 1.05 KB
/
ddg2dnr.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
name: ddg2dnr
on: [pull_request]
jobs:
lint:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
node: [20.x]
os: [ubuntu-latest] # FIXME - macos-latest runner keeps failing
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- run: npm run install-ci
- run: npm run lint --workspace=packages/ddg2dnr
test:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
node: [20.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- run: npm run install-ci
- run: npm test --workspace=packages/ddg2dnr