Skip to content

Commit

Permalink
Fix tests in gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rnons committed May 26, 2022
1 parent 0185439 commit caf2032
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ jobs:
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 14
node-version: 16
- name: Build
run: |
yarn add purescript spago
yarn spago build
- name: Test
run: |
yarn jest
yarn test
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"type": "module",
"license": "BSD-3-Clause",
"scripts": {
"build": "spago build -u '--strict --stash +RTS -N2 -RTS'",
"build": "spago build",
"test": "spago build && NODE_OPTIONS=--experimental-vm-modules jest"
},
"devDependencies": {
"jest": "^25.1.0",
"purescript-psa": "^0.7.3"
"jest": "^28.1.0"
}
}

0 comments on commit caf2032

Please sign in to comment.