File tree Expand file tree Collapse file tree 3 files changed +38
-2
lines changed Expand file tree Collapse file tree 3 files changed +38
-2
lines changed Original file line number Diff line number Diff line change 3737
3838 - run : npm run check:types
3939
40+ prepare_build :
41+ name : Prepare Build
42+ runs-on : ubuntu-24.04
43+ steps :
44+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
45+
46+ - name : Use Node.js
47+ uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # 6.0.0
48+ with :
49+ node-version-file : package.json
50+
51+ - name : Install dependencies
52+ run : npm ci
53+
54+ - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
55+ with :
56+ name : artifact-build
57+ path : js-dist
58+
4059 test_node :
60+ needs : prepare_build
4161 strategy :
4262 fail-fast : false
4363 matrix :
5676
5777 - name : Install dependencies via npm ci
5878 if : ${{ !inputs.triggered-by-release }}
59- run : npm ci
79+ run : npm ci --ignore-scripts
80+
81+ - name : Download build artifact
82+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # 5.0.0
83+ with :
84+ name : artifact-build
85+ path : js-dist
86+
87+ - name : Install CLI
88+ run : npm run install-cli
6089
6190 # For pushes to the release branch, we need to install the dependencies via `npm install`
6291 # because the `package-lock.json` is not updated with the new versions of the optional
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## Unreleased
4+
5+ ### Various fixes & improvements
6+
7+ - Migrated JavaScript wrapper to TypeScript for better type safety ([#2910](https://github.com/getsentry/sentry-cli/pull/2910))
8+
39## 2.57.0
410
511### New Features
Original file line number Diff line number Diff line change 4242 "@sentry/cli-win32-x64" : " 2.57.0"
4343 },
4444 "scripts" : {
45- "postinstall" : " npm run build && node ./scripts/ install.js " ,
45+ "postinstall" : " npm run build && npm run install-cli " ,
4646 "build" : " tsc" ,
47+ "install-cli" : " node ./scripts/install.js" ,
4748 "prepack" : " npm run build" ,
4849 "fix" : " npm-run-all fix:eslint fix:prettier" ,
4950 "fix:eslint" : " eslint --fix bin/* scripts/**/*.js js/**/*.js" ,
You can’t perform that action at this time.
0 commit comments