Skip to content

Merge pull request #21 from toyokumo/develop #4

Merge pull request #21 from toyokumo/develop

Merge pull request #21 from toyokumo/develop #4

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: pnpm
cache-dependency-path: 'package.json'
registry-url: https://registry.npmjs.org
- run: pnpm publish --registry=https://registry.npmjs.org
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: pnpm
cache-dependency-path: 'package.json'
registry-url: https://npm.pkg.github.com
- run: pnpm publish --registry=https://npm.pkg.github.com
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}