Skip to content

build(nix): remove npm packages (#88) #38

build(nix): remove npm packages (#88)

build(nix): remove npm packages (#88) #38

Workflow file for this run

name: Build and populate cache
on:
push:
branches: [main]
paths: ["**.nix", "**.js", "**.ts", "**.rs", "Cargo.lock", "package.json", "package-lock.json"]
pull_request:
paths: ["**.nix", "**.js", "**.ts", "**.rs", "Cargo.lock", "package.json", "package-lock.json"]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Setup cachix
uses: cachix/cachix-action@v12
if: startsWith(github.event.ref, 'refs/tags/v')
with:
name: "catppuccin"
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
skipPush: ${{ github.ref != 'refs/heads/main' }}
- name: Flake check
run: nix flake check -Lv
- name: Build packages
run: nix build -L .#catwalk .#puccinier .#whiskers