summaryrefslogtreecommitdiff
path: root/.github/workflows/pr-check.yml
blob: f0926528c76c665e0e013a3599d642b479986071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: PR build check

on:
  pull_request:
    branches:
      - production

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Install cmark
        run: sudo apt-get update && sudo apt-get install -y cmark

      - name: Install Dart Sass
        run: npm install -g sass@1.32.8

      - name: Install soupault
        run: |
          wget -q https://github.com/PataphysicalSociety/soupault/releases/download/4.10.0/soupault-4.10.0-linux-x86_64.tar.gz
          tar xf soupault-4.10.0-linux-x86_64.tar.gz
          sudo mv soupault-4.10.0-linux-x86_64/soupault /usr/bin/

      - name: Build (staging profile)
        run: SOUPAULT_OPTS="--profile staging" make all