chore(deps): update dependency tsx to ^4.17.0 #417
Workflow file for this run
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: | |
types: | |
- closed | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'data') }} | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: pnpm | |
- name: Install and build | |
run: | | |
pnpm install | |
pnpm build | |
- name: Release | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git config user.email "[email protected]" | |
git config user.name "GitHub Actions" | |
pnpm config set //registry.npmjs.org/:_authToken $NPM_TOKEN | |
pnpm release:bgmd | |
- run: npx changelogithub | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |