feat: update origin to Angular v20.0.6 #14
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| on: [pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| initilize: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| submodules: true | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| - run: npm ci | |
| - name: Prepare adev for build | |
| run: npm run build:ci | |
| working-directory: ./build | |
| - name: Upload build folder | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: build-artifact | |
| path: ./build | |
| adev-build: | |
| runs-on: ubuntu-latest | |
| needs: initilize | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| submodules: true | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| cache: yarn | |
| cache-dependency-path: build/yarn.lock | |
| - name: Download build artifact | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: build-artifact | |
| path: build | |
| - uses: bazel-contrib/setup-bazel@e403ad507104847c3539436f64a9e9eecc73eeec # 0.8.5 | |
| with: | |
| bazelisk-cache: true | |
| disk-cache: true | |
| repository-cache: true | |
| bazelrc: | | |
| # Print all the options that apply to the build. | |
| # This helps us diagnose which options override others | |
| # (e.g. /etc/bazel.bazelrc vs. tools/bazel.rc) | |
| build --announce_rc | |
| # More details on failures | |
| build --verbose_failures=true | |
| # CI supports colors but Bazel does not detect it. | |
| common --color=yes | |
| - name: Install node modules | |
| run: yarn install --frozen-lockfile | |
| working-directory: ./build | |
| - name: Build adev | |
| run: yarn bazel build //adev:build --full_build_adev --config=release | |
| working-directory: ./build | |
| uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@01c8c16f830d02110c28640aea16f145a7937080 | |
| # with: | |
| # workflow-artifact-name: 'adev-preview' | |
| # pull-number: '${{ github.event.pull_request.number }}' | |
| # artifact-build-revision: '${{github.event.pull_request.head.sha}}' | |
| # deploy-directory: './build/dist/bin/adev/build/browser' |