Skip to content

Commit

Permalink
fix: github action release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
player31-kks committed Dec 31, 2023
1 parent 809662c commit dd1f721
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,17 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v4

- name: Set Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Initialize Git user
run: |
git config --global user.email "keumks0331@gmail.com"
git config --global user.name "Release Workflow"
- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install
- name: Run release
uses: borales/actions-yarn@v4
- name: Set Node.js 18.x
uses: actions/setup-node@v3
with:
cmd: release --ci
node-version: 18.x
- run: yarn
- run: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit dd1f721

Please sign in to comment.