Skip to content

nix-channel --update && nix-shell -p bun #4

nix-channel --update && nix-shell -p bun

nix-channel --update && nix-shell -p bun #4

Workflow file for this run

name: Build and deploy
on:
push:
branches: master
pull_request:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build coverage
run: git clone --depth=1 https://github.com/dmjio/miso && cd miso && nix-channel --update && nix-shell -p bun --run 'bun install && bun run test'
- name: Upload coverage
uses: actions/upload-pages-artifact@v3
with:
path: ./miso/coverage
deploy:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4