Skip to content

small change to test the web3Contract #81

small change to test the web3Contract

small change to test the web3Contract #81

Workflow file for this run

name: PR tests
on:
pull_request:
branches:
- master
jobs:
test_on_pr_backend:
name: Test Backend
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
test_on_pr_frontend:
name: Test Frontend
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install dependencies
run: yarn install
- name: Test build
run: yarn build