Skip to content

Commit

Permalink
chore: fix release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
3846masa committed Dec 26, 2022
1 parent 2b8eda7 commit 41784fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,10 @@ jobs:
- lint
runs-on: ubuntu-latest
steps:
- name: Generate GitHub token
id: generate-token
uses: tibdex/github-app-token@021a2405c7f990db57f5eae5397423dcc554159c # tag=v1.7.0
with:
app_id: ${{ secrets.RELEASE_BOT_APP_ID }}
private_key: ${{ secrets.RELEASE_BOT_APP_SECRET_KEY }}
- name: Checkout
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
with:
token: ${{ steps.generate-token.outputs.token }}
ssh-key: ${{ secrets.DEPLOY_GIT_SSH_PRIVATE_KEY }}
- name: Setup Node.js
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3.5.1
with:
Expand All @@ -66,6 +60,6 @@ jobs:
- run: yarn build
- name: Release
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn run semantic-release
3 changes: 2 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@
"release": "patch",
"type": "fix"
}
]
],
"repositoryUrl": "git@github.com:3846masa/http-cookie-agent.git"
}

0 comments on commit 41784fd

Please sign in to comment.