Files
xread/.github/workflows/ci.yml
T
dependabot[bot] 67aefe56c1 chore(deps): bump the github-actions group with 2 updates (#50)
Bumps the github-actions group with 2 updates: [docker/build-push-action](https://github.com/docker/build-push-action) and [docker/metadata-action](https://github.com/docker/metadata-action).


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

Updates `docker/metadata-action` from c3b064c6d7c32446d6bc214ea075f1caad2de35a to a7807070e67ad478bd5f672f499303a151742e53
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/c3b064c6d7c32446d6bc214ea075f1caad2de35a...a7807070e67ad478bd5f672f499303a151742e53)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: bcafcacb16a39f128d818304e6c9c0c18556b85f
  dependency-type: direct:production
  dependency-group: github-actions
- dependency-name: docker/metadata-action
  dependency-version: a7807070e67ad478bd5f672f499303a151742e53
  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-04-13 01:39:42 +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@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: .
push: false