feat: update to spago@next #152
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@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| 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 --include=dev | |
| - name: Install dependencies | |
| run: npm run install | |
| - name: Build project | |
| run: npm run build -- --pedantic-packages | |
| - name: Run tests | |
| run: npm run test -- --offline --quiet | |
| - name: Check formatting | |
| run: npm run format:check | |
| # - name: Parse package sets | |
| # run: npm run parse-package-set | |
| - name: Run file benchmark | |
| run: npm run bench-file src/PureScript/CST/Parser.purs |