Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 83e5177

Browse files
committed
chore(CircleCI): fix deploy-docs job
Since #17039, our docs Firebase functions' `package.json` specifies a `node` engine version. This is required for configuring which version of Node.js should Firebase use to execute the functions. However, since Firebase is using an older version of Node.js than the one we use to build the AngularJS project, yarn would error due to incompatible Node.js engine versions ([example failure][1]). This commit avoids the error by running yarn with the `--ignore-engines` option. [1]: https://app.circleci.com/pipelines/github/angular/angular.js/214/ workflows/ad2e9baf-7249-467d-bc71-bd98e6cd922c/jobs/2247
1 parent aa7e177 commit 83e5177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ jobs:
387387
- skip_unless_stable_branch
388388
# Install dependencies for Firebase functions to prevent parsing errors during deployment
389389
# See https://github.com/angular/angular.js/pull/16453
390-
- run: yarn --cwd scripts/docs.angularjs.org-firebase/functions
390+
- run: yarn --cwd scripts/docs.angularjs.org-firebase/functions --ignore-engines
391391
- run: yarn firebase deploy --message "Commit:\ $CI_COMMIT" --non-interactive --only hosting --project "docs-angularjs-org-9p2" --token "$FIREBASE_TOKEN"
392392

393393
workflows:

0 commit comments

Comments
 (0)