-
Notifications
You must be signed in to change notification settings - Fork 5.1k
54 lines (45 loc) · 1.03 KB
/
suppressions.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
44
45
46
47
48
49
50
51
52
53
54
name: Suppressions
on:
push:
branches:
- main
- typespec-next
pull_request:
branches:
- main
- typespec-next
paths:
- package-lock.json
- package.json
- tsconfig.json
- eng/tools/package.json
- eng/tools/tsconfig.json
- eng/tools/suppressions
jobs:
ci:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node: [18, 20]
exclude:
- os: ubuntu-latest
node: 20
- os: windows-latest
node: 18
runs-on: ${{ matrix.os }}
steps:
- name: Enable git long paths
if: runner.os == 'Windows'
run: git config --system core.longpaths true
- uses: actions/checkout@v4
with:
sparse-checkout: eng
- name: Use Node ${{ matrix.node }}.x
uses: actions/setup-node@v4
with:
node-version: '${{ matrix.node }}.x'
- run: npm ci
- run: npm run build
working-directory: ./eng/tools/suppressions
- run: npm test
working-directory: ./eng/tools/suppressions