From 464224a153f2d140551726128e0a5ad10d022ed0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 18 Aug 2021 16:57:25 +0200 Subject: [PATCH] Enable npm caching in GitHub Actions --- .github/workflows/typescript.yml | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.20.1