test: add unit test (#193) * test(device): add unit test * style: run biome before prettier Avoid a bug where biomd does not run, when called the other way around * test(webhook): add unit test * ci(checks): run unit tests * ci: fix test name * build: bundle and minify src [11368436241] #17
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
# This workflow triggers the release process after code check is completed | |
# | |
name: Release | |
run-name: ${{ github.event.workflow_run.head_commit.message }} [${{ github.event.workflow_run.id }}] | |
# Controls when the action will run. | |
on: | |
workflow_run: | |
workflows: [Checks] | |
types: [completed] | |
branches: [main, next, beta, alpha] | |
concurrency: | |
# group: ${{ github.workflow }}_${{ github.head_ref || github.ref || github.run_id }} | |
# Use the name of the triggering workflow run as the concurrency group to avoid conccurency issues | |
group: ${{ github.workflow }}_${{ github.event.workflow_run.head_branch || github.ref_name || github.run_id }} | |
cancel-in-progress: true | |
# Declare default permissions as read only. | |
permissions: | |
contents: read | |
jobs: | |
semantic-release: | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
name: '▶️ actions' | |
uses: ./.github/workflows/semantic-release.yml | |
secrets: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
packages: write | |
id-token: write |