Skip to content

ci: remove comments on successful release (#133) #23

ci: remove comments on successful release (#133)

ci: remove comments on successful release (#133) #23

name: build-and-release
on:
push:
branches:
- develop
- main
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
persist-credentials: false # to disable default GITHUB_TOKEN
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: npm
- name: Install Dependencies
run: npm ci
- name: Build Project
run: npm run build
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
BRANCH_NAME: ${{ github.ref_name }}
run: npx semantic-release