Skip to content

Commit

Permalink
chore: release actions를 추가한다
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-heo committed Dec 14, 2024
1 parent 42c4e5f commit 4d3b0cc
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Package release
on:
push:
branches:
- master
concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install pnpm
run: npm install -g pnpm

- name: Install Dependencies
run: pnpm install --no-frozen-lockfile

- name: Create Release Pull Request
id: changesets
uses: changesets/action@v1
with:
title: 'Release styles'
commit: 'chore: publish pkg'
version: pnpm npm:version
publish: pnpm npm:publish
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 4d3b0cc

Please sign in to comment.