name: Server CI on: push: paths: - 'server/**' - '.github/workflows/**' jobs: build: runs-on: ubuntu-latest defaults: run: working-directory: server steps: - uses: actions/checkout@v2 - name: Setup node uses: actions/setup-node@v3 with: node-version: '16' - name: Install deps run: yarn - name: Run tests run: yarn test