diff --git a/.github/workflows/coverage-report.yml b/.github/workflows/coverage-report.yml index fabb50d661..28aeefcdd0 100644 --- a/.github/workflows/coverage-report.yml +++ b/.github/workflows/coverage-report.yml @@ -20,6 +20,11 @@ jobs: with: ref: refs/pull/${{ github.event.pull_request.number }}/head + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + cache: npm + - name: Install dependencies run: npm ci diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 58fe12d5cf..6c12887fc0 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -23,6 +23,11 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + cache: npm + - name: Install dependencies run: npm ci diff --git a/.github/workflows/lint-css.yml b/.github/workflows/lint-css.yml index 3d5d5d59d7..60e51f1b83 100644 --- a/.github/workflows/lint-css.yml +++ b/.github/workflows/lint-css.yml @@ -29,7 +29,9 @@ jobs: uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v2.4.0 + uses: actions/setup-node@v2 + with: + cache: npm - uses: xt0rted/stylelint-problem-matcher@v1 diff --git a/.github/workflows/lint-html.yml b/.github/workflows/lint-html.yml index a6cc4048f8..d8d604f1a3 100644 --- a/.github/workflows/lint-html.yml +++ b/.github/workflows/lint-html.yml @@ -33,7 +33,9 @@ jobs: uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v2.4.0 + uses: actions/setup-node@v2 + with: + cache: npm - name: Install npm dependencies run: npm ci diff --git a/.github/workflows/lint-js.yml b/.github/workflows/lint-js.yml index 92ffbd17de..aad53f48df 100644 --- a/.github/workflows/lint-js.yml +++ b/.github/workflows/lint-js.yml @@ -31,7 +31,9 @@ jobs: # setup-node task is used without a particular version in order to load # the ESLint problem matchers - name: Set up Node.js - uses: actions/setup-node@v2.4.0 + uses: actions/setup-node@v2 + with: + cache: npm - name: Install npm dependencies run: npm ci diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index b4c2e80293..5917dd5e65 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -35,7 +35,9 @@ jobs: fetch-depth: 0 - name: Set up Node.js - uses: actions/setup-node@v2.4.0 + uses: actions/setup-node@v2 + with: + cache: npm - name: Install npm dependencies run: npm ci diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index 9282badea5..e2531b348d 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -34,7 +34,9 @@ jobs: uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v2.4.0 + uses: actions/setup-node@v2 + with: + cache: npm - name: Install npm dependencies run: npm ci