chore(deps): update dependency knip to v5.39.2 (#117) #18
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: | |
push: | |
branches: | |
- main | |
jobs: | |
source: | |
name: verify source | |
uses: ./.github/workflows/source.yaml | |
release: | |
name: release version | |
runs-on: ubuntu-latest | |
needs: [source] | |
permissions: | |
issues: write | |
contents: write | |
pull-requests: write | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: setup package manager | |
uses: pnpm/action-setup@v4 | |
with: | |
run_install: false | |
- name: install node | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'pnpm' | |
check-latest: true | |
node-version-file: '.nvmrc' | |
- name: install dependencies | |
run: pnpm install | |
- name: release version | |
run: pnpm exec semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |