From a7571a425f789d992bac226fa212f1c047fffc15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Mon, 19 Sep 2022 17:09:33 +0200 Subject: [PATCH] :zap: Cache npm dependencies --- .github/workflows/ci-pull-requests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-pull-requests.yml b/.github/workflows/ci-pull-requests.yml index 92d62c7f6f131..95e0d6f85925e 100644 --- a/.github/workflows/ci-pull-requests.yml +++ b/.github/workflows/ci-pull-requests.yml @@ -15,9 +15,10 @@ jobs: steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: npm install, build, and test run: | npm install -g npm@latest