Skip to content

Add palette, glare, depth, and gyroscope tuning options #22

Add palette, glare, depth, and gyroscope tuning options

Add palette, glare, depth, and gyroscope tuning options #22

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint (oxlint)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- run: npm ci --ignore-scripts
- run: npm run lint:strict
typecheck:
name: Typecheck (tsc)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- run: npm ci --ignore-scripts
- run: npm run typecheck
format:
name: Format (prettier)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- run: npm ci --ignore-scripts
- run: npm run format:check
build:
name: Build (publish artifacts)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- run: npm ci --ignore-scripts
- run: npm run build
- name: Verify expected publish artifacts exist
run: test -f dist/index.js && test -f dist/holo-cards.css && test -f dist-types/index.d.ts