Upgrade to latest package set, including new Node eventing model (#148) #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: purescript-contrib/setup-purescript@main | |
with: | |
purescript: "unstable" | |
spago: "unstable" | |
- name: Cache PureScript dependencies | |
uses: actions/cache@v2 | |
with: | |
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }} | |
path: | | |
.spago | |
output | |
- name: Install NPM and Bower dependencies | |
run: | | |
npm install --global bower esbuild pulp@16.0.0-0 | |
npx bower install | |
- name: Build project | |
run: | | |
spago build | |
pulp build | |
- name: Build example | |
run: make run-example | |
- name: Run tests | |
run: | | |
spago -x test.dhall test |