Skip to content

Migrate to spago next (#126) #270

Migrate to spago next (#126)

Migrate to spago next (#126) #270

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Cache PureScript dependencies
uses: actions/cache@v4
with:
key: ${{ runner.os }}-spago-${{ hashFiles('**/spago.lock') }}
path: |
.spago
output
- name: Install npm dependencies
run: npm install
- name: Build source
run: npm run bundle -- --pedantic-packages
- name: Run tests
run: npm run test -- --offline --quiet
- name: Verify formatting
run: npm run check-self