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