- update lambda code to new api #104
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: build | |
on: | |
push: | |
branches: | |
- "*" | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
# Install the Node version specified in the project `.node-version` file | |
- uses: nodenv/actions/[email protected] | |
id: nodenv | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: "${{ steps.nodenv.outputs.node-version }}" | |
# Yarn will also have been installed by actions/setup-node@v1 | |
- run: yarn install --immutable | |
- run: yarn checkFormatting | |
- run: yarn workspace shared build | |
- run: yarn workspace server build | |
- run: yarn workspace client build | |
- run: yarn workspace server test | |
- run: yarn workspace client test | |
# Fix version so that it doesn't advance over time unless we want it to | |
- uses: cypress-io/[email protected] | |
with: | |
start: yarn workspace integration start | |
wait-on: "http://localhost:5000" | |
command: yarn workspace tests start |