Unverified Commit a57932fa authored by Sankalp Kotewar's avatar Sankalp Kotewar Committed by GitHub
Browse files

Merge pull request #1014 from jongwooo/chore/use-built-in-cache-action

chore: Use built-in cache action to cache dependencies
parents 941bc71a 04b13cae
Loading
Loading
Loading
Loading
+1 −11
Changes for .github/workflows/workflow.yml: 1 added line, 11 removed lines.
Original line number Diff line number Diff line
@@ -25,17 +25,7 @@ jobs:
      uses: actions/setup-node@v3
      with:
        node-version: 16.x
    - name: Determine npm cache directory
      id: npm-cache
      run: |
        echo "::set-output name=dir::$(npm config get cache)"
    - name: Restore npm cache
      uses: actions/cache@v3
      with:
        path: ${{ steps.npm-cache.outputs.dir }}
        key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
        restore-keys: |
          ${{ runner.os }}-node-
        cache: npm
    - run: npm ci
    - name: Prettier Format Check
      run: npm run format-check