Skip to content

chore: release 0.4.0 #7

chore: release 0.4.0

chore: release 0.4.0 #7

Workflow file for this run

name: Release package
permissions:
id-token: write
contents: write
on:
push:
tags:
- 0.*
- 1.*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test
release:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm install -g npm@latest
- run: npm publish
- run: npx changelogithub --no-group
continue-on-error: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}