Skip to content

docs: update license to cc0 (#37) #43

docs: update license to cc0 (#37)

docs: update license to cc0 (#37) #43

Workflow file for this run

name: "Release"
on:
push:
branches:
- beta
- main
jobs:
##
# install
##
install:
name: "Install"
runs-on: ubuntu-latest
steps:
- name: "🛎 Checkout"
uses: actions/checkout@v4
- name: "🧶 Setup Yarn Dependencies"
uses: ./.github/actions/use-yarn-dependencies
##
# release
##
release:
name: "Release"
needs: install
runs-on: ubuntu-latest
steps:
- name: "🛎 Checkout"
uses: actions/checkout@v4
- 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 Yarn Dependencies"
uses: ./.github/actions/use-yarn-dependencies
- name: "🏗️ Build"
run: yarn build
- 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