This repository has been archived by the owner on Aug 6, 2024. It is now read-only.
feat(auth): Implement user authentication and refactor UI components. #4
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: | |
release: | |
env: | |
HUSKY: 0 | |
name: release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
issues: write | |
steps: | |
- name: generate mango habanero bot app token. | |
uses: actions/create-github-app-token@v1 | |
id: mh-bot-token | |
with: | |
app-id: ${{ vars.MH_BOT_APP_ID }} | |
private-key: ${{ secrets.MH_BOT_PRIVATE_KEY }} | |
- name: checkout code. | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: setup Node.js. | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.12.0" | |
- name: install dependencies. | |
run: npm ci | |
- name: publish release. | |
env: | |
GITHUB_TOKEN: ${{ steps.mh-bot-token.outputs.token }} | |
run: npx semantic-release |