From fdae6194b837a6f2bb5321fe567b497c458bdb9e Mon Sep 17 00:00:00 2001 From: Jonny-Cho Date: Sun, 5 Nov 2023 01:20:47 +0900 Subject: [PATCH] =?UTF-8?q?build:=20ci=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit steps 여러개로 나눔 npm 캐싱 git config local로 수정 --- .github/workflows/ci.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb7ee61..cbbfd63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 "andante2183@gmail.com" + cache: npm + + - name: Git Config + run: | + git config --local user.name "Jonny-Cho" + git config --local user.email "andante2183@gmail.com" + + - name: Run deploy + run: | npm ci npm run deploy