Skip to content

Commit 1d8386e

Browse files
committed
fixup! chore: prebuild dist folder | add changelog
1 parent b90e8fa commit 1d8386e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/test_node.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Install dependencies via npm ci
2828
if: ${{ !inputs.triggered-by-release }}
29-
run: npm ci
29+
run: npm ci --ignore-scripts
3030

3131
# For pushes to the release branch, we need to install the dependencies via `npm install`
3232
# because the `package-lock.json` is not updated with the new versions of the optional
@@ -49,7 +49,7 @@ jobs:
4949
node-version-file: package.json
5050

5151
- name: Install dependencies
52-
run: npm ci
52+
run: npm ci --ignore-scripts
5353

5454
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
5555
with:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@
4242
"@sentry/cli-win32-x64": "2.57.0"
4343
},
4444
"scripts": {
45-
"postinstall": "npm run build && npm run install-cli",
45+
"postinstall": "npm run install-cli",
4646
"build": "tsc",
47+
"postbuild": "npm run install-cli",
4748
"install-cli": "node ./scripts/install.js",
4849
"prepack": "npm run build",
4950
"fix": "npm-run-all fix:eslint fix:prettier",

0 commit comments

Comments
 (0)