Skip to content

Release

Release #83

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [16]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: corepack enable
- run: |
git config user.name github-actions
git config user.email [email protected]
- run: npx changelogithub
continue-on-error: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Setup Node
uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: ${{ matrix.node }}
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies
run: pnpm install
- name: Prepare module
run: pnpm dev:prepare
- name: Publish Package
run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}