4206 allow root folders named '/' #9447
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
tags: | |
- "*" | |
pull_request: | |
merge_group: | |
jobs: | |
test-catalog: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: catalog | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: 'catalog/package.json' | |
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@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
flags: catalog | |
name: ${{ github.job }} | |
lint-docs: | |
runs-on: ubuntu-latest | |
env: | |
NODE_OPTIONS: --max-old-space-size=4096 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: 'catalog/package.json' | |
- run: npx --package=markdownlint-cli markdownlint . |