Enable npm caching for all GitHub Actions jobs
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 20 Sep 2021 16:56:59 +0000 (18:56 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 20 Sep 2021 16:56:59 +0000 (18:56 +0200)
see 1a0841ca4d71142ba6d8adfce914bbaa90c41bb4

.github/workflows/codestyle.yml

index bd0d34e154a73a0497074b6c766fa2d84328a24f..429c622ed6e07a05fd593a63766f5de83ca49204 100644 (file)
@@ -34,6 +34,7 @@ jobs:
       uses: actions/setup-node@v2
       with:
         node-version: "16"
+        cache: "npm"
     - run: npm install
     - name: Run prettier
       run: |
@@ -53,6 +54,7 @@ jobs:
       uses: actions/setup-node@v2
       with:
         node-version: "16"
+        cache: "npm"
     - run: npm install
     - name: Run prettier
       run: |