.github/workflows/prod.yml
name: Production on: push: branches: ['main'] jobs: test: runs-on: ubuntu-latest strategy: matrix: node-version: [12.22.1] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: Install packages run: yarn install --frozen-lockfile - uses: paambaati/codeclimate-action@v3.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: coverageCommand: yarn test:coverage