Files
xread/.github/workflows/ci.yml
T
dependabot[bot] 9185106fde chore(deps): bump actions/setup-node in the github-actions group
Bumps the github-actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-node` from 6 to 7
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-20 01:35:16 +00:00

83 lines
1.9 KiB
YAML

name: CI
on:
pull_request:
push:
branches:
- main
tags:
- v*
workflow_dispatch:
permissions:
contents: read
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
concurrency:
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
verify:
name: Verify stand-alone build
runs-on: ubuntu-latest
timeout-minutes: 25
env:
CI: true
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: 26
cache: npm
- name: Install dependencies
run: npm ci
- name: Enforce dependency security policy
run: npm run security:audit
- name: Lint source files
run: npm run lint
- name: Run repository tests
run: npm run test:ci
- name: Build TypeScript output
run: npm run build
- name: Smoke-test stand-alone entrypoints
run: |
NODE_ENV=dry-run node ./build/stand-alone/crawl.js
NODE_ENV=dry-run node ./build/stand-alone/search.js
NODE_ENV=dry-run node ./build/stand-alone/serp.js
validate-container:
name: Validate container build
runs-on: ubuntu-latest
needs: verify
if: github.event_name == 'pull_request'
permissions:
contents: read
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Prepare licensed assets
run: node ./scripts/prepare-licensed-assets.cjs
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Build container image without publishing
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a
with:
context: .
push: false