Check C bindings in GitHub Actions
On any new change, `PREFIX=/tmp make install` should succeed as long as
the parser has already been built.
-# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: Check grammar and style
+name: Check compilation/bindings/style
on:
push:
@@ -33,5 +30,8 @@ jobs:
- run: npm install
- run: npm run ci
- run: npm run test-ci
+ - run: make install
+ env:
+ PREFIX: /tmp
- run: cargo test
- run: cd ./test-npm-package && npm test; cd ..
