Skip to content

Commit

Permalink
fix release action for 1.6.0rc1 (#658)
Browse files Browse the repository at this point in the history
  • Loading branch information
fundthmcalculus committed May 17, 2022
1 parent a20c668 commit cf52188
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/release-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
environment: npmjs.com
defaults:
run:
working-directory: ${{ matrix.target }}
working-directory: "web"
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v2
Expand All @@ -32,20 +32,6 @@ jobs:
with:
githubToken: ${{ secrets.API_GITHUB_TOKEN }}
overrideVersion: ${{ github.event.inputs.packageVersion }}
- run: |
npm install
npm run build
npm test
shell: pwsh
env:
TEST_SERVER_ENDPOINT: ${{ secrets.TEST_SERVER_ENDPOINT }}
TEST_SERVER_PORT: ${{ secrets.TEST_SERVER_PORT }}
TEST_SERVER_USE_TLS: ${{ secrets.TEST_SERVER_USE_TLS }}
- uses: trinsic-id/set-version@v0.1
id: setversion
with:
githubToken: ${{ secrets.API_GITHUB_TOKEN }}
overrideVersion: ${{ github.event.inputs.packageVersion }}
- run: npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
- run: |
npm install
Expand All @@ -54,4 +40,7 @@ jobs:
npm publish --no-git-tag-version --yes --no-verify-access
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
TEST_SERVER_ENDPOINT: ${{ secrets.TEST_SERVER_ENDPOINT }}
TEST_SERVER_PORT: ${{ secrets.TEST_SERVER_PORT }}
TEST_SERVER_USE_TLS: ${{ secrets.TEST_SERVER_USE_TLS }}

0 comments on commit cf52188

Please sign in to comment.