This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
docs: update bug report and add feature request templates (#6) #9
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: | |
- beta | |
- main | |
jobs: | |
## | |
# install | |
## | |
install: | |
name: "Install" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "🛎 Checkout" | |
uses: actions/checkout@v3 | |
- name: "🔧 Setup" | |
uses: ./.github/actions/use-dependencies | |
## | |
# release | |
## | |
release: | |
name: "Release" | |
needs: install | |
runs-on: ubuntu-latest | |
steps: | |
- name: "🛎 Checkout" | |
uses: actions/checkout@v3 | |
- name: "📦 Install yq" | |
uses: ./.github/actions/install-yq | |
- name: "📝 Create .npmrc" | |
run: | | |
echo "//registry.npmjs.org/:_authToken=${{ secrets.PUBLISH_PUBLIC_PACKAGES_TOKEN }}" >> .npmrc | |
echo "@agoralabs-sh:registry=https://registry.npmjs.org" >> .npmrc | |
echo "access=public" >> .npmrc | |
- name: "🔧 Setup" | |
uses: ./.github/actions/use-dependencies | |
- name: "🏗️ Build" | |
run: yarn build | |
- name: "🔖 Release" | |
env: | |
# appears on the release commits | |
GIT_AUTHOR_NAME: agoralabs-bot | |
GIT_AUTHOR_EMAIL: tech@agoralabs.sh | |
GIT_COMMITTER_NAME: agoralabs-bot | |
GIT_COMMITTER_EMAIL: tech@agoralabs.sh | |
# used to push the release commit and create the tags | |
GITHUB_TOKEN: ${{ secrets.WRITE_REPOS_TOKEN }} | |
run: yarn semantic-release |