-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from ComposableFi/kirina/fix-config
Fix config
- Loading branch information
Showing
30 changed files
with
679 additions
and
460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Publish to npm | ||
|
||
on: | ||
push: | ||
branches: | ||
- main # main 브랜치로 머지될 때 트리거 | ||
|
||
jobs: | ||
publish: | ||
name: Publish npm Package | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# 1. store checkout | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
# 2. Node.js install | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 # 원하는 Node.js 버전 | ||
cache: 'npm' | ||
|
||
# 3. install dependencies | ||
- name: Install dependencies | ||
run: npm ci | ||
|
||
# 4. npm login | ||
- name: Authenticate with npm | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: echo "//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}" > ~/.npmrc | ||
|
||
# 5. update version and publish | ||
- name: Publish package | ||
run: | | ||
npm version patch -m "Release v%s [skip ci]" # 버전 업데이트 | ||
npm publish |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.