From 6e4fd75701c767e0328e8728cdf714b493ba2026 Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Mon, 5 Jul 2021 02:41:41 +0200 Subject: [PATCH] ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows --- .github/workflows/build-test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index da4c182e..4cc27edc 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -3,14 +3,14 @@ name: build-test on: pull_request: paths-ignore: - - '**.md' - push: + - "**.md" + push: branches: - main - releases/* paths-ignore: - - '**.md' - + - "**.md" + jobs: build: runs-on: ${{ matrix.os }} @@ -23,6 +23,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