From 1bdc102892e77f2723ffed383874092cf4e07810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Tue, 20 Sep 2022 20:59:49 +0200 Subject: [PATCH] perf(ci): Cache npm dependencies (#4138) :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 92d62c7f6..95e0d6f85 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