Skip to content

Build release artifacts before trusted publish #156

Build release artifacts before trusted publish

Build release artifacts before trusted publish #156

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '22.17.0'
cache: 'npm'
- run: npm ci
- run: npm --prefix demo ci
- name: Install WABT
run: sudo apt-get update && sudo apt-get install -y wabt && wat2wasm --version
- run: npm run lint:check
- run: npm run typecheck
- run: npm run build
- run: npm run build:verify
- run: npm run pack:check
- run: npm run web:build
- run: npm test
browser-smoke:
runs-on: ubuntu-latest
needs: test
env:
LUMINA_BROWSER_SMOKE: '1'
LUMINA_DOM_RENDER_BENCHMARK_EXPORT_PATH: .tmp/dom-render-benchmark/export.json
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '22.17.0'
cache: 'npm'
- run: npm ci
- run: npm --prefix demo ci
- run: npm run build
- run: npm run web:build
- run: sudo apt-get update && sudo apt-get install -y wabt
- run: npx playwright install --with-deps chromium
- run: mkdir -p .tmp/dom-render-benchmark
- run: npm run test:browser -- --grep-invert "DOM render benchmark contract"
- run: npm run test:browser:benchmark:smoke
- run: npm run bench:dom-render:smoke:check -- --input .tmp/dom-render-benchmark/export.json --out-dir .tmp/dom-render-benchmark/history --summary-path .tmp/dom-render-benchmark/gate-summary.json
- uses: actions/upload-artifact@v6
if: always()
with:
name: dom-render-benchmark-smoke
path: .tmp/dom-render-benchmark/
retention-days: 7
- uses: actions/upload-artifact@v6
if: failure()
with:
name: playwright-report
path: playwright-report/
retention-days: 7