Skip to content

fix: new workflow CI (#114) #1

fix: new workflow CI (#114)

fix: new workflow CI (#114) #1

Workflow file for this run

name: Auto Release
on:
push:
branches:
- main
jobs:
release:
name: Run release-it
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: npm ci
- name: Configure Git User
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Run release-it
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx release-it --ci