Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Merge pull request #3 from satohshi/changeset-release/main #5

Merge pull request #3 from satohshi/changeset-release/main

Merge pull request #3 from satohshi/changeset-release/main #5

Workflow file for this run

name: Publish to NPM
on:
push:
branches:
- main
paths-ignore:
- 'REAdME.md'
- 'LICENSE'
- '.gitignore'
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Create Release Pull Request
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}