Skip to content

Implement proper consent for petitions (#223) #112

Implement proper consent for petitions (#223)

Implement proper consent for petitions (#223) #112

Workflow file for this run

name: "Build Website"
on:
push:
jobs:
build-all:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Verify formatting
env:
VERSION: 2.7.0
OS: linux
ARCH: amd64
run: |
curl -O -L -C - https://github.com/editorconfig-checker/editorconfig-checker/releases/download/$VERSION/ec-$OS-$ARCH.tar.gz
tar xzf ec-$OS-$ARCH.tar.gz
./bin/ec-$OS-$ARCH
- name: Install nix
uses: cachix/install-nix-action@v18
- name: Typecheck with tsc
run: nix develop -c bash -c 'cd assets; npx tsc'
- name: Run tests
run: nix develop -c bash -c 'npm test'
- name: Copile PDF with pandoc and xelatex
run: nix develop -c bash -c './latex/print-all'
- name: Build evenrything
run: nix build