Fix runner so it works. Start porting integration to the client lib #482
This file contains hidden or 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: [main] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v2 | |
| - uses: purescript-contrib/setup-purescript@main | |
| with: | |
| purs-tidy: "latest" | |
| - name: Verify formatting | |
| run: purs-tidy check src example | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: "20.x" | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Build source | |
| run: spago build | |
| - name: Run tests | |
| run: spago test |