docs: add optional signer to the sign message method docs (#30) #33
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@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 |