Skip to content

docs: add README

docs: add README #1

name: Test and Release
on:
push:
branches:
- main
- master
pull_request:
jobs:
backend-tests:
uses: ./.github/workflows/backend-tests.yml
release:
needs: [backend-tests]
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}