commcare connect deliver unit mug #68
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: vellum tests | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
- name: Install dependencies | |
run: | | |
yarn_version=$(grep -Eo '^yarn@[^:]+' ./yarn.lock) | |
echo "lock file requires: $yarn_version" | |
npm install "$yarn_version" | |
yarn install | |
- name: Run tests | |
run: | | |
npm run testserver & | |
make test |