Skip to content

Commit 4fd9b74

Browse files
authored
remove postinstall (#2037)
1 parent cece210 commit 4fd9b74

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

.github/workflows/deploy_preview.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ jobs:
1414
uses: primer/.github/.github/workflows/deploy_preview.yml@main
1515
with:
1616
node_version: 16
17+
install: npm ci && cd docs && npm ci && cd ..
1718
build: npm run build:docs:preview
1819
output_dir: docs/public

.github/workflows/deploy_production.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ jobs:
3939
uses: primer/.github/.github/workflows/deploy.yml@main
4040
with:
4141
node_version: 16
42+
install: npm ci && cd docs && npm ci && cd ..
4243
build: npm run build:docs
4344
output_dir: docs/public

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
"test:type-check": "tsc --noEmit",
5050
"release": "npm run build && changeset publish",
5151
"size": "size-limit",
52-
"postinstall": "cd docs && npm i",
5352
"prepare": "husky install"
5453
},
5554
"repository": "primer/react",

0 commit comments

Comments
 (0)