File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -113,11 +113,17 @@ jobs:
113
113
uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
114
114
with :
115
115
node-version : ' 20'
116
- cache : ' pnpm'
116
+ # Skip cache to avoid 422 errors from GitHub Actions cache service
117
+ # cache: 'pnpm'
117
118
118
119
- name : Install dependencies
119
120
if : steps.docs-core-setup.outputs.needs_node == 'true'
120
- run : ./scripts/pnpm_install.sh --no-frozen-lockfile
121
+ shell : bash
122
+ run : |
123
+ echo "Installing Node.js dependencies"
124
+ # Run with --prefer-offline to use local cache if available, but don't fail if not
125
+ ./scripts/pnpm_install.sh --prefer-offline || ./scripts/pnpm_install.sh --no-frozen-lockfile
126
+ echo "Node.js dependencies installed successfully"
121
127
122
128
- name : Prepare for Vale
123
129
if : steps.docs-core-setup.outputs.needs_vale == 'true'
You can’t perform that action at this time.
0 commit comments