Skip to content

Restore Halogen recipes #40

Restore Halogen recipes

Restore Halogen recipes #40

Workflow file for this run

name: Run PR Tests
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# We use `npm install` rather than `setup-purescript`
- name: Cache PureScript dependencies
uses: actions/cache@v2
with:
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
path: |
.spago
output
- name: Set up Node toolchain
uses: actions/setup-node@v1
with:
node-version: "18.x"
- name: Cache NPM dependencies
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install NPM dependencies
run: npm install
- name: Test all makefile commands
run: make testAllCommands
- name: Check if readme was updated
run: diff README.md <(scripts/generateRecipeTable.sh)
- name: Run CI tests
run: make testAllCI
- name: Check PureScript code is formatted
run: make formatCheck