ci: Switch the release action to the v0 tag #8
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: | |
- develop | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: false | |
permissions: | |
contents: write | |
env: | |
ENV: ci | |
HUSKY: '0' | |
jobs: | |
test: | |
name: Publish to the release branch | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install Dependencies | |
run: npm ci | |
- name: Publish to the release branch | |
id: publish | |
uses: glitch452/branch-release@v0 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
build-command: npm run build |