Setting up CI/CD pipelines for automating tests with GitHub Actions
In this new section, we’ll update our previous workflow for running tests. Logic dictates that tests should be run before the build. Here’s the test workflow:
test: runs-on: ubuntu-latest defaults: run: working-directory: './Chapter 9/getting-started-angular-tdd/' strategy: matrix: node-version: [18.x] # See supported Node.js release schedule at https: //nodejs.org/en/about/releases/ steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 &...