name: "Continuous Integration" on: push: pull_request: jobs: build: name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: '16.x' - name: Install dependencies run: yarn install - name: Linting run: yarn lint - name: Build run: yarn build - name: Testing run: | yarn test API_ON_SAME_PORT=1 yarn test