From 6f75ce3c3c345ca4a5ce6cfe2aab10f501e23ceb Mon Sep 17 00:00:00 2001 From: dvirtz Date: Mon, 8 Apr 2024 09:08:52 +0100 Subject: [PATCH] ci: cache npm bypass https://github.com/actions/setup-node/issues/712 by turning of workspaces for the duration of the setup-node action --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f52fcfb..509312b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,9 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 + cache: npm + env: + npm_config_workspaces: false - uses: actions/setup-python@v5 with: python-version: '3.10' @@ -80,6 +83,9 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 + cache: npm + env: + npm_config_workspaces: false - uses: actions/setup-python@v5 with: python-version: '3.10'