Skip to content

Use nix in build workflow #274

Use nix in build workflow

Use nix in build workflow #274

Workflow file for this run

name: Build
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix develop --command npm ci
- run: nix develop --command npm run build
- run: nix develop --command npm run bundle
- run: ls -lhR dist