Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/changeset-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: changeset-publish

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.ACTION_TOKEN }}
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- uses: NaverPayDev/changeset-actions/publish@main
with:
github_token: ${{ secrets.ACTION_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
publish_script: pnpm release
git_username: npay-fe-bot
git_email: npay.fe.bot@navercorp.com
pr_title: 🚀 version changed packages
commit_message: 📦 bump changed packages version
create_github_release_tag: true
formatting_script: pnpm markdownlint:fix
39 changes: 39 additions & 0 deletions .github/workflows/changesets-detect-add.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: changeset-detect-add
on:
pull_request:
branches:
- '**'
types: [opened, reopened, synchronize]

jobs:
detect-add:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.ACTION_TOKEN }}
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Detect Changed Packages
uses: NaverPayDev/changeset-actions/detect-add@main
with:
github_token: ${{ secrets.ACTION_TOKEN }}
packages_dir: packages
skip_label: skip-detect-change
skip_branches: main
formatting_script: pnpm markdownlint:fix
38 changes: 0 additions & 38 deletions .github/workflows/release.yaml

This file was deleted.

Loading