Skip to content

Commit 8c64982

Browse files
authored
chore: remove postinstall script (#608)
1 parent cb60e5c commit 8c64982

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
branches:
66
- master
77

8-
env:
9-
PUPPETEER_SKIP_CHROME_HEADLESS_SHELL_DOWNLOAD: true
10-
118
jobs:
129
contributors:
1310
if: "${{ github.event.head_commit.message != 'build: contributors' }}"

.github/workflows/pull_request.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88
branches:
99
- master
1010

11-
env:
12-
PUPPETEER_SKIP_CHROME_HEADLESS_SHELL_DOWNLOAD: true
13-
1411
jobs:
1512
matrix:
1613
if: github.ref != 'refs/heads/master'

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@
122122
"dev": "concurrently \"gulp\" \"npm run dev:server\"",
123123
"dev:server": "browser-sync start --server --files \"index.html, README.md, static/**/*.(css|js)\"",
124124
"lint": "standard",
125-
"postinstall": "npx puppeteer browsers install chrome",
126125
"postrelease": "github-generate-release",
127126
"prerelease": "pnpm run update:check",
128127
"pretest": "pnpm run lint",
@@ -152,6 +151,9 @@
152151
"finepack"
153152
]
154153
},
154+
"pnpm": {
155+
"neverBuiltDependencies": []
156+
},
155157
"simple-git-hooks": {
156158
"commit-msg": "npx commitlint --edit",
157159
"pre-commit": "npx nano-staged"

0 commit comments

Comments
 (0)