Skip to content

Commit 2d8591a

Browse files
authored
CI: Run set-timestamp-version as npm script (#33034)
1 parent 4996c84 commit 2d8591a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/packages_publishing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161

6262
- name: Set timestamp version
6363
if: ${{ env.SET_TIMESTAMP_VERSION == 'true' }}
64-
run: pnpx ts-node tools/scripts/set-timestamp-version
64+
run: pnpm run all:set-timestamp-version
6565

6666
- name: Build npm packages
6767
env:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"regenerate-all": "nx run-many -t regenerate",
1717
"lint-staged": "lint-staged",
1818
"prepare": "husky install",
19+
"all:set-timestamp-version": "ts-node tools/scripts/set-timestamp-version.ts",
1920
"all:update-version": "ts-node tools/scripts/update-version.ts",
2021
"all:build": "ts-node tools/scripts/build-all.ts",
2122
"all:build-dev": "pnpm run all:build --dev",

0 commit comments

Comments
 (0)