Add docs on new container limits #60500
This file contains hidden or 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
name: CI | |
on: | |
pull_request: | |
branches: | |
- production | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
compile: | |
name: Compiles | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: "npm" | |
- uses: actions/cache/restore@v4 | |
with: | |
path: | | |
node_modules/.astro/assets | |
key: static | |
- run: | | |
FILES=$( | |
find src/content \ | |
-type f \ | |
-not -name '*.mdx' \ | |
-not -name '*.md' \ | |
-not -name '*.json' \ | |
-not -name '*.yml' \ | |
-not -name '*.yaml' \ | |
-not -name '*.txt' | |
) | |
if [ -n "$FILES" ]; then | |
echo "Found files with invalid file extensions:\n\n$FILES" | |
exit 1 | |
fi | |
- run: npm ci | |
- run: npx tsx bin/post-codeowners-comment/index.ts | |
continue-on-error: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- run: npm run check | |
- uses: reviewdog/action-eslint@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
reporter: github-pr-review | |
fail_level: error | |
filter_mode: nofilter | |
- run: npm run format:core:check | |
## TODO: content formatting checks | |
- run: npm run build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_OPTIONS: "--max-old-space-size=4192" | |
RUN_LINK_CHECK: true | |
- run: npm run check:worker | |
- uses: actions/cache/save@v4 | |
with: | |
path: | | |
node_modules/.astro/assets | |
key: static | |
- name: Check - Validate redirects (infinite loops, sources with fragment) | |
run: npx tsm bin/validate-redirects.ts | |
- name: Tests | |
run: npm run test | |
- name: Post PR CI failure comment | |
if: always() | |
continue-on-error: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: npx tsx bin/post-pr-ci-failure-comment/index.ts |