feat: add testing workflow #3
Workflow file for this run
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: | |
- name: 📥 Checkout code | |
uses: actions/checkout@v2 | |
- name: ⚙️ Install dependencies | |
run: npm install | |
- name: ✅ Run unit tests | |
run: npm test test/unit | |
- name: ✅ Run e2e tests | |
run: ./scripts/test-e2e.sh |