Skip to content

Commit

Permalink
ci: actions 버전 업데이트 및 타겟 브랜치 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
choisohyun committed Jan 24, 2024
1 parent 2adfa11 commit ba71508
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org
- run: yarn install
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
env:
GH_TOKEN: ${{secrets.GH_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
8 changes: 5 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,19 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org
- run: yarn install
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
uses: cycjimmy/semantic-release-action@v4
env:
GH_TOKEN: ${{secrets.GH_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
with:
branch: main
- run: npm publish
env:
GH_TOKEN: ${{secrets.gh_token}}
Expand Down

0 comments on commit ba71508

Please sign in to comment.