mirror of
https://github.com/morluto/rea.git
synced 2026-12-03 21:46:01 +00:00
* build(deps): bump actions/checkout from 4.4.0 to 7.0.1 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.4.0 to 7.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.4.0...3d3c42e5aac5ba805825da76410c181273ba90b1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * test(ci): identify the trusted checkout independently of its release * test(ci): narrow workflow step uses before matching checkout --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
47 lines
1.5 KiB
YAML
47 lines
1.5 KiB
YAML
name: SQLite runtime compatibility
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
HUSKY: "0"
|
|
|
|
jobs:
|
|
sqlite:
|
|
name: SQLite runtime compatibility (Node ${{ matrix.node }})
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
# Exercise unavailable-runtime diagnostics and rolling supported releases.
|
|
# Security floors prevent fallback to an older hosted-toolcache patch.
|
|
# The repository-pinned Node 24 version also runs the complete test suite.
|
|
node: ["^22.23.4", "24.22.1", "^24.22.1", "^26.12.1"]
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
|
with:
|
|
package-manager-cache: false
|
|
node-version: ${{ matrix.node }}
|
|
check-latest: true
|
|
- name: Cache npm package downloads
|
|
id: npm-cache
|
|
uses: ./.github/actions/npm-cache
|
|
- run: npm ci
|
|
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
with:
|
|
name: rea-test-runtime
|
|
path: .
|
|
- name: Verify SQLite discovery, inspection and cleanup
|
|
# The downloaded runtime supplies the preparation done by test:sqlite.
|
|
# Run named hooks without adding their own pre/post lifecycle.
|
|
shell: bash
|
|
run: |
|
|
npm run --ignore-scripts --if-present pretest:sqlite
|
|
npm run test:sqlite:run
|
|
npm run --ignore-scripts --if-present posttest:sqlite
|