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 - name: Testing API_ON_SAME_PORT run: API_ON_SAME_PORT=1 yarn test - name: Testing REVERSE_ONLY run: REVERSE_ONLY=1 yarn test