Skip to content

chore: release v0.3.8 #2

chore: release v0.3.8

chore: release v0.3.8 #2

Workflow file for this run

# Inspired by Elk.Zone - Release Action
# https://github.com/elk-zone/elk/blob/main/.github/workflows/release.yml
# This action creates a release with every new tag that is created.
# It attaches release notes to the release which are based on the github commits / pull requests.
# Then publishes to NPM Registry.
name: Release Notes & Publish to NPM
permissions:
contents: write
id-token: write
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set node
uses: actions/setup-node@v4
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}