Skip to content

chore: update ci actions #10

chore: update ci actions

chore: update ci actions #10

Workflow file for this run

name: generate release
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
release:
name: release
runs-on: ubuntu-latest
environment: release
steps:
- name: Checkout
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: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release