add nix shell #37
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: Run tests | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: pnpm/[email protected] | |
with: | |
version: 7.17.0 | |
run_install: true | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "18.x" | |
- run: pnpm install | |
- run: pnpm run build | |
- run: pnpm test |