From a388b3faf4a1863f976f8921756a454465b2ff5c Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Sun, 18 Jul 2021 22:16:32 +0200 Subject: [PATCH] ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) mode change 100755 => 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml old mode 100755 new mode 100644 index 9eb0e32a..fe3beb95 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,10 +6,10 @@ on: - main - releases/* paths-ignore: - - '**.md' + - "**.md" pull_request: paths-ignore: - - '**.md' + - "**.md" jobs: build: @@ -24,6 +24,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: 12.x + cache: npm - run: npm ci - run: npm run build - run: npm run format-check