Skip to content

build: publish v0.1.3 #6

build: publish v0.1.3

build: publish v0.1.3 #6

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Tools
uses: ./.github/actions/install-tools
- name: Install Dependencies
uses: ./.github/actions/install-dependencies
- name: Build Package
run: pnpm run build
- name: Create GitHub Release
run: pnpm run ci:changelog
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Configure NPM Auth
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > ~/.npmrc
- name: Publish to NPM
run: pnpm run ci:publish