mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
* chore(ci): add runtime trace summaries * chore(ci): tighten measured workspace steps * chore(release): tighten beta setup steps * chore(release): slim beta windows smoke * chore(ci): shard daemon tests * chore(ci): harden runtime trace lookup * chore(release): avoid mac pnpm cache in beta * chore(ci): split critical playwright checks * chore(release): publish beta platforms from builders * test(e2e): update beta release workflow expectation * chore(ci): stop gating PRs on nix check * fix(release): keep beta latest complete
57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
name: nix-check
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
- '**/*.mdx'
|
|
- '**/*.txt'
|
|
- LICENSE
|
|
- .gitignore
|
|
- .editorconfig
|
|
- .vscode/**
|
|
- .idea/**
|
|
- docs/**
|
|
- assets/**
|
|
- '**/*.png'
|
|
- '**/*.jpg'
|
|
- '**/*.jpeg'
|
|
- '**/*.gif'
|
|
- '**/*.svg'
|
|
- '**/*.webp'
|
|
- .github/ISSUE_TEMPLATE/**
|
|
- .github/PULL_REQUEST_TEMPLATE.md
|
|
- .github/CODEOWNERS
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@v27
|
|
with:
|
|
extra_nix_config: |
|
|
experimental-features = nix-command flakes
|
|
accept-flake-config = true
|
|
|
|
# - name: Configure Cachix (always pull; push only with token)
|
|
# uses: cachix/cachix-action@v15
|
|
# with:
|
|
# name: nexu-open-design
|
|
# # Empty token = read-only mode. Forks/PRs from external
|
|
# # contributors still get cache hits but cannot push back.
|
|
# authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
|
# skipPush: ${{ secrets.CACHIX_AUTH_TOKEN == '' }}
|
|
|
|
- name: nix flake check
|
|
run: nix flake check --print-build-logs --keep-going
|