Add issue-number
input to specify issue or pull request (#824)
#892
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
name: release | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/release.yaml | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
jobs: | |
tag: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: 20 | |
- run: corepack enable pnpm | |
- run: pnpm i | |
- run: pnpm build | |
- uses: int128/release-typescript-action@f057c1399c41e922268a3d9036966d74e8341a15 # v1.28.0 |