Skip to content

feat: add leaderboard endpoint (#15) #16

feat: add leaderboard endpoint (#15)

feat: add leaderboard endpoint (#15) #16

Workflow file for this run

name: "Release"
on:
push:
branches:
- beta
- main
jobs:
release:
name: "Release"
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
runs-on: ubuntu-latest
environment: production
steps:
- name: "🛎 Checkout"
uses: actions/checkout@v4
- name: "🔧 Setup"
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: "📦 Install"
run: |
yarn add semantic-release @semantic-release/{changelog,commit-analyzer,exec,git,github,release-notes-generator}
- name: "🔖 Release"
env:
# appears on the release commits
GIT_AUTHOR_NAME: agoralabs-bot
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: agoralabs-bot
GIT_COMMITTER_EMAIL: [email protected]
# used to push the release commit and create the tags
GITHUB_TOKEN: ${{ secrets.WRITE_REPOS_TOKEN }}
run: yarn semantic-release