Skip to content

Commit

Permalink
Fix CI for Node 16.15.1 (primer#2123)
Browse files Browse the repository at this point in the history
* update package-lock for node 16.15.1

* use Node 14 for docs

* Use Node 14 for deploy production
  • Loading branch information
siddharthkp authored and PrinceSumberia committed Aug 1, 2022
1 parent ea1b068 commit b4e0812
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Preview
uses: primer/.github/.github/workflows/deploy_preview.yml@main
with:
node_version: 16
node_version: 14
install: npm ci && cd docs && npm ci && cd ..
build: npm run build:docs:preview
output_dir: docs/public
2 changes: 1 addition & 1 deletion .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
if: ${{ needs.guard.outputs.should_deploy == 'true' }}
uses: primer/.github/.github/workflows/deploy.yml@main
with:
node_version: 16
node_version: 14
install: npm ci && cd docs && npm ci && cd ..
build: npm run build:docs
output_dir: docs/public
26 changes: 12 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b4e0812

Please sign in to comment.