Skip to content

Merge pull request #69 from boardgamers/glcanvas #87

Merge pull request #69 from boardgamers/glcanvas

Merge pull request #69 from boardgamers/glcanvas #87

Workflow file for this run

name: Api-Node
on:
push:
paths:
- ".github/workflows/api.yml"
- "apps/api/**"
- "packages/**"
branches:
- master
pull_request:
paths:
- ".github/workflows/api.yml"
- "apps/api/**"
- "packages/**"
defaults:
run:
working-directory: apps/api
jobs:
lint_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: 4.4
- run: corepack enable
- run: pnpm install --filter {./}...
- run: pnpm run lint-check
- run: pnpm install --filter "@bgs/models"
- run: pnpm install --filter "@bgs/utils"
- run: pnpm run tsc
- run: pnpm run test