diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b5c4a796..fa70d5d83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,7 @@ jobs: uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: Install dependencies run: npm ci diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 94d36ed7f..0650efe03 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -25,6 +25,7 @@ jobs: uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: Install dependencies run: npm ci diff --git a/.github/workflows/font_tests.yml b/.github/workflows/font_tests.yml index 1dcecb6e9..6ff7aecde 100644 --- a/.github/workflows/font_tests.yml +++ b/.github/workflows/font_tests.yml @@ -46,6 +46,7 @@ jobs: uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: Install dependencies run: npm ci diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0fb706004..c9ec2cb58 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -24,6 +24,7 @@ jobs: uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: Install dependencies run: npm ci diff --git a/.github/workflows/prefs_tests.yml b/.github/workflows/prefs_tests.yml index fb8c91e91..96c8c9784 100644 --- a/.github/workflows/prefs_tests.yml +++ b/.github/workflows/prefs_tests.yml @@ -24,6 +24,7 @@ jobs: uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: Install dependencies run: npm ci diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 5fe18a329..b9dd3e9ff 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -26,6 +26,7 @@ jobs: uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: node-version: ${{ matrix.node-version }} + cache: 'npm' registry-url: 'https://registry.npmjs.org' - name: Install dependencies diff --git a/.github/workflows/publish_website.yml b/.github/workflows/publish_website.yml index f8d12822a..b55d86679 100644 --- a/.github/workflows/publish_website.yml +++ b/.github/workflows/publish_website.yml @@ -26,6 +26,7 @@ jobs: uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: Install dependencies run: npm ci diff --git a/.github/workflows/types_tests.yml b/.github/workflows/types_tests.yml index 9d08a0e05..30d565817 100644 --- a/.github/workflows/types_tests.yml +++ b/.github/workflows/types_tests.yml @@ -24,6 +24,7 @@ jobs: uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: Install dependencies run: npm ci diff --git a/.github/workflows/update_locales.yml b/.github/workflows/update_locales.yml index 49718b679..18ca96bfc 100644 --- a/.github/workflows/update_locales.yml +++ b/.github/workflows/update_locales.yml @@ -24,6 +24,7 @@ jobs: uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: node-version: lts/* + cache: 'npm' - name: Install dependencies run: npm ci