Subnet deployment with updated dockerfile #46
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: PR tests | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test_on_pr: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Install dependencies | |
run: cd backend && npm install | |
- name: Run build | |
run: cd backend && npm run build # Double check we can build | |
# TODO: Tests to be added | |
# - name: Unit tests | |
# run: npm run test | |
# TODO: the same for frontend |