Add issue templates, code of conduct, contribution guide, and privacy… #52
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: Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- uses: actions/setup-node@v2 | |
with: | |
node-version-file: ./client/.nvmrc | |
- name: Install dependencies | |
working-directory: ./client | |
run: | | |
npm i | |
- name: Build project | |
working-directory: ./client | |
run: | | |
npm run build | |
- name: Test | |
working-directory: ./client | |
run: | | |
npm run test |