Skip to content

Commit 2a4d878

Browse files
committed
ci: temporarily use direct GHA checkout and setup node actions in test job
CI was failing for the Node.js v18 test job when using the dev-infra setup task. To unblock PRs, the GHA checkout and node setup is now done directly.
1 parent bcdd0a7 commit 2a4d878

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,19 @@ jobs:
7373
matrix:
7474
version: [16, 18]
7575
steps:
76-
- name: Initialize environment
77-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0109d498b0f6aae418ed4924a5e5c65695f0ac61
76+
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
77+
with:
78+
persist-credentials: false
79+
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
7880
with:
7981
node-version: ${{ matrix.version }}
82+
cache: 'yarn'
83+
- name: Install node modules
84+
run: yarn install --frozen-lockfile
8085
- name: Setup Bazel
8186
uses: angular/dev-infra/github-actions/bazel/setup@0109d498b0f6aae418ed4924a5e5c65695f0ac61
8287
- name: Setup Bazel RBE
8388
uses: angular/dev-infra/github-actions/bazel/configure-remote@0109d498b0f6aae418ed4924a5e5c65695f0ac61
84-
- name: Install node modules
85-
run: yarn install --frozen-lockfile
8689
- if: matrix.version == env.defaultVersion
8790
name: Run tests for default node version
8891
run: yarn bazel test --test_tag_filters=-node18,-node16-broken //packages/...

0 commit comments

Comments
 (0)