diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
index 5e0a818..6dad208 100644
--- a/.github/workflows/workflow.yml
+++ b/.github/workflows/workflow.yml
@@ -25,14 +25,10 @@ jobs:
       uses: actions/setup-node@v3
       with:
         node-version: 16.x
-    - name: Determine npm cache directory
-      id: npm-cache
-      run: |
-        echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
     - name: Restore npm cache
       uses: actions/cache@v3
       with:
-        path: ${{ steps.npm-cache.outputs.dir }}
+        path: $(npm config get cache)
         key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
         restore-keys: |
           ${{ runner.os }}-node-