Skip to content

Publish and release #26

Publish and release

Publish and release #26

Workflow file for this run

name: Publish and release
on:
workflow_dispatch:
repository_dispatch:
types:
- release-triggered
jobs:
release:
runs-on: ubuntu-latest
env:
NODE_VERSION: 20
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: 'https://registry.npmjs.org'
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTOMATION_TOKEN}}
- name: "release"
id: publish
run: script/ci/release.sh
env:
GITHUB_TOKEN: ${{ github.token }}