-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
steps 여러개로 나눔 npm 캐싱 git config local로 수정
- Loading branch information
Showing
1 changed file
with
14 additions
and
5 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 |
---|---|---|
|
@@ -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 |