Files
xread/.github/workflows/ci.yml
T
dependabot[bot] 6bffb98303 chore(deps): bump the github-actions group with 3 updates (#40)
Bumps the github-actions group with 3 updates: [docker/build-push-action](https://github.com/docker/build-push-action), [docker/metadata-action](https://github.com/docker/metadata-action) and [docker/login-action](https://github.com/docker/login-action).


Updates `docker/build-push-action` from b66d8774c665b789105b440514f0c97e6f19b06f to 502612d46437e573ecd598d11dd0b009741ed5cd
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/b66d8774c665b789105b440514f0c97e6f19b06f...502612d46437e573ecd598d11dd0b009741ed5cd)

Updates `docker/metadata-action` from 4378dc6be7f72231dfe78ac7e0364a44f1c9f54b to 12e32e61d3439d838b9b6d3fda7d2f6a422f893d
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/4378dc6be7f72231dfe78ac7e0364a44f1c9f54b...12e32e61d3439d838b9b6d3fda7d2f6a422f893d)

Updates `docker/login-action` from 5c42dd293b89d96bae168b5b3694e4e72a5b1117 to bb9683dca29f758cbd6ee832740e9f2dbeb21a3e
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/5c42dd293b89d96bae168b5b3694e4e72a5b1117...bb9683dca29f758cbd6ee832740e9f2dbeb21a3e)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 502612d46437e573ecd598d11dd0b009741ed5cd
  dependency-type: direct:production
  dependency-group: github-actions
- dependency-name: docker/metadata-action
  dependency-version: 12e32e61d3439d838b9b6d3fda7d2f6a422f893d
  dependency-type: direct:production
  dependency-group: github-actions
- dependency-name: docker/login-action
  dependency-version: bb9683dca29f758cbd6ee832740e9f2dbeb21a3e
  dependency-type: direct:production
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-31 06:38:43 +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@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 22
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@v6
- 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@502612d46437e573ecd598d11dd0b009741ed5cd
with:
context: .
push: false