Skip to content

Commit

Permalink
build: ci 수정
Browse files Browse the repository at this point in the history
steps 여러개로 나눔

npm 캐싱

git config local로 수정
  • Loading branch information
Jonny-Cho committed Nov 4, 2023
1 parent 4b9d09c commit fdae619
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,21 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: |
git config --global user.name "Jonny-Cho"
git config --global user.email "[email protected]"
cache: npm

- name: Git Config
run: |
git config --local user.name "Jonny-Cho"
git config --local user.email "[email protected]"
- name: Run deploy
run: |
npm ci
npm run deploy

0 comments on commit fdae619

Please sign in to comment.