mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Add gitHead to package.json in all release workflows (#58135)
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -154,6 +154,7 @@ jobs:
|
||||
|
||||
- run: npx hereby lkg
|
||||
- run: |
|
||||
node ./scripts/addPackageJsonGitHead.mjs package.json
|
||||
npm pack
|
||||
mv typescript*.tgz typescript.tgz
|
||||
echo "package=$PWD/typescript.tgz" >> "$GITHUB_OUTPUT"
|
||||
|
||||
1
.github/workflows/insiders.yaml
vendored
1
.github/workflows/insiders.yaml
vendored
@@ -59,6 +59,7 @@ jobs:
|
||||
npm ci
|
||||
npx hereby configure-insiders
|
||||
npx hereby LKG
|
||||
node ./scripts/addPackageJsonGitHead.mjs package.json
|
||||
npm publish --tag insiders
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
||||
|
||||
1
.github/workflows/nightly.yaml
vendored
1
.github/workflows/nightly.yaml
vendored
@@ -59,6 +59,7 @@ jobs:
|
||||
npm ci
|
||||
npx hereby configure-nightly
|
||||
npx hereby LKG
|
||||
node ./scripts/addPackageJsonGitHead.mjs package.json
|
||||
npm publish --tag next
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
||||
|
||||
@@ -40,6 +40,7 @@ jobs:
|
||||
run: |
|
||||
npx hereby LKG
|
||||
npx hereby clean
|
||||
node ./scripts/addPackageJsonGitHead.mjs package.json
|
||||
npm pack ./
|
||||
mv typescript-*.tgz typescript.tgz
|
||||
- name: Upload built tarfile
|
||||
|
||||
Reference in New Issue
Block a user