From: Tim Düsterhus Date: Wed, 18 Aug 2021 14:57:25 +0000 (+0200) Subject: Enable npm caching in GitHub Actions X-Git-Tag: 5.5.0_Alpha_1~481 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=464224a153f2d140551726128e0a5ad10d022ed0;p=GitHub%2FWoltLab%2FWCF.git Enable npm caching in GitHub Actions --- diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index 49a7f8c8c6..2b352b57f8 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -18,6 +18,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: "14" + cache: "npm" - uses: actions/checkout@v2 - run: npm install - run: npx tsc --noEmit @@ -33,6 +34,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: "14" + cache: "npm" - uses: actions/checkout@v2 - run: npm install - run: npx eslint . @@ -47,6 +49,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: "14" + cache: "npm" - uses: actions/checkout@v2 - run: npm install - run: npx tsc