Skip to content

feat(version): version sync replaced #4

feat(version): version sync replaced

feat(version): version sync replaced #4

Workflow file for this run

name: 🧪 Test PR
"on": pull_request
permissions:
contents: read
pull-requests: write
env:
# kcov/kcov:latest, pinned for reproducible builds
KCOV_IMAGE: kcov/kcov@sha256:481289ae32e55e5b733019515acd10948a4f76dfed381765577db909664fc603
jobs:
test:
name: 🛠️ Validate & Package
runs-on: ubuntu-latest
steps:
- name: 🗜️ Checkout
uses: actions/checkout@v7
- name: 🗜️ Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
registry-url: https://registry.npmjs.org
- name: 🗜️ Setup Zig
uses: mlugg/setup-zig@v2
with:
version: 0.16.0
- name: 🛠️ Install dependencies
uses: ./.github/actions/cached-deps
- name: 🧹 Clean
run: yarn clean
- name: ✅ Validate
run: yarn validate
- name: 🛠️ Build coverage tests
run: yarn coverage:build
- name: 🧪 Generate coverage
run: |
docker run --rm \
--cap-add=SYS_PTRACE \
--security-opt seccomp=unconfined \
--volume "$PWD:$PWD" \
--workdir "$PWD" \
--user "$(id -u):$(id -g)" \
--entrypoint /bin/sh \
"$KCOV_IMAGE" \
"$PWD/scripts/coverage.sh"
- name: 📊 Report coverage
if: github.event.pull_request.head.repo.full_name == github.repository
uses: ./.github/actions/report-pr
with:
coverage-file: coverage/merged/kcov-merged/cobertura.xml
- name: ⚡ Build release executable
run: yarn build:release
- name: 📦 Create npm package
run: yarn script:package-npm && yarn copy-files
- name: 🧪 Smoke-test npm package
run: yarn package:smoke
- name: 🏁 Benchmark performance gate
run: yarn benchmark