Skip to content

feat: cn 패키지 작성 #2

feat: cn 패키지 작성

feat: cn 패키지 작성 #2

Workflow file for this run

name: Publish
on:
pull_request:
types:
- closed
branches:
- main
jobs:
merged:
if: github.event.pull_request.merged && startsWith(github.head_ref, 'release')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: |
yarn install --immutable
yarn lerna run build
- name: Publish changed packages to npm registry
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: |
yarn lerna publish from-package --yes --no-private