Skip to content

Commit d6df77f

Browse files
rezrahjonrohan
andauthored
remove postinstall (#2040)
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
1 parent 06cd5a5 commit d6df77f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/deploy_preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: Deploy preview
1919
with:
2020
node_version: 14
21-
install: yarn
21+
install: yarn && cd docs && yarn && cd ..
2222
build: yarn build:docs:preview
2323
output_dir: docs/public
2424

.github/workflows/deploy_production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ jobs:
4646
uses: primer/.github/.github/workflows/deploy.yml@main
4747
with:
4848
node_version: 14
49-
install: yarn
49+
install: yarn && cd docs && yarn && cd ..
5050
build: yarn build:docs
5151
output_dir: docs/public

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"prepublishOnly": "script/prepublish",
3636
"start": "yarn dev",
3737
"dev": "cd docs && yarn && yarn develop",
38-
"postinstall": "cd docs && yarn",
3938
"pretest": "yarn dist && script/pretest",
4039
"test": "NODE_OPTIONS=--experimental-vm-modules yarn jest",
4140
"release": "changeset publish",

0 commit comments

Comments
 (0)