Add developer docs. #9
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: Test and Build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16.x" | |
- name: Clear and Reinstall Dependencies | |
run: | | |
rm -rf node_modules package-lock.json | |
npm install | |
- name: Run Tests | |
run: npm test | |
- name: Build | |
run: npm run build |