-
Notifications
You must be signed in to change notification settings - Fork 90
43 lines (43 loc) · 1.1 KB
/
catalog.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
on:
push:
paths:
- '.github/workflows/catalog.yml'
- 'catalog/**'
jobs:
test-catalog:
runs-on: ubuntu-latest
defaults:
run:
working-directory: catalog
env:
NODE_OPTIONS: --max-old-space-size=4096
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16.11'
cache: 'npm'
cache-dependency-path: 'catalog/package-lock.json'
- run: npm ci
- run: npm test
- run: npm run build
- env:
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
run: npm run bundlewatch
- uses: codecov/codecov-action@v3
with:
flags: catalog
name: ${{ github.job }}
lint-docs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
env:
NODE_OPTIONS: --max-old-space-size=4096
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16.11'
- run: npx --package=markdownlint-cli markdownlint --ignore node_modules **/*.md