Skip to content

ci: update release.yml target branch #1

ci: update release.yml target branch

ci: update release.yml target branch #1

Workflow file for this run

name: Release
on:
push:
branches:
- main
env:
HUSKY: 0
jobs:
release:
permissions:
contents: write # for release publishing
name: Release
env:
commitmsg: ${{ github.event.head_commit.message }}
runs-on: ubuntu-latest
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/*
cache: 'yarn'
- name: Install dependencies Node
run: npm install --frozen-lockfile --non-interactive
- run: npm run build
- name: Release Node
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release