-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Release typescript action version (#1663)
Co-authored-by: fundthmcalculus <fundthmcalculus@users.noreply.github.com>
- Loading branch information
1 parent
67192b5
commit d2e7856
Showing
6 changed files
with
35 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Ensure the NODE_AUTH_TOKEN is set in the environment variables of the repository. | ||
# ${{ secrets.NPM_TOKEN }} is the secret name for the NPM_TOKEN | ||
param( | ||
[string]$NpmToken = $env:NPM_TOKEN, | ||
[string]$NodeAuthToken = $env:NODE_AUTH_TOKEN | ||
) | ||
|
||
Set-Location $PSScriptRoot/../../../connect/typescript | ||
|
||
# Set env vars | ||
$env:NODE_AUTH_TOKEN = $NodeAuthToken | ||
$env:NPM_TOKEN = $NpmToken | ||
|
||
npm set //registry.npmjs.org/:_authToken $NpmToken | ||
npm ci | ||
npm run build | ||
npm publish --no-git-tag-version --yes --no-verify-access |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters