Skip to content

chore(github): Add project automation for https://tinyurl.com/25uty9w5 #107

chore(github): Add project automation for https://tinyurl.com/25uty9w5

chore(github): Add project automation for https://tinyurl.com/25uty9w5 #107

Workflow file for this run

name: Semantic Release 🚀
on:
push:
branches: ["main"]
permissions:
contents: read
jobs:
release:
name: Release
runs-on: ubuntu-latest
env:
BUF_TOKEN: ${{ secrets.BUF_TOKEN }}
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout ts-sdk Repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
submodules: true
- name: Setup NodeJS and npm
uses: actions/setup-node@v3
with:
node-version: "lts/hydrogen"
cache: "yarn"
- name: yarn install
uses: borales/actions-yarn@v4
with:
cmd: install
- name: yarn build
uses: borales/actions-yarn@v4
with:
cmd: build
- name: yarn semantic-release
uses: borales/actions-yarn@v4
env:
GITHUB_TOKEN: ${{ secrets.NIBIBOT_GIT_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
cmd: semantic-release