Skip to content

Commit 7e7e7ba

Browse files
authored
chore: package-manager-cache: false (#1361)
caused by complete fuckup of the https://github.com/actions/setup-node authors. we dont want unexpected caching. we dont have a lockfile for a reason -- we want the latest versions, always. Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 54d9582 commit 7e7e7ba

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

.github/workflows/nodejs.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838
uses: actions/checkout@v5
3939
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
4040
# see https://github.com/actions/setup-node
41-
uses: actions/setup-node@v5
41+
uses: actions/setup-node@v6
4242
with:
4343
node-version: ${{ env.NODE_ACTIVE_LTS }}
44-
# cache: 'npm'
44+
package-manager-cache: false
4545
- name: setup subject
4646
run: npm i --ignore-scripts --loglevel=silly
4747
- name: build
@@ -64,11 +64,10 @@ jobs:
6464
uses: actions/checkout@v5
6565
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
6666
# see https://github.com/actions/setup-node
67-
uses: actions/setup-node@v5
67+
uses: actions/setup-node@v6
6868
with:
6969
node-version: ${{ env.NODE_ACTIVE_LTS }}
70-
# cache: "npm"
71-
# cache-dependency-path: "**/package-lock.json"
70+
package-manager-cache: false
7271
- name: setup project
7372
run: |
7473
npm install --ignore-scripts --loglevel=silly
@@ -109,11 +108,10 @@ jobs:
109108
uses: actions/checkout@v5
110109
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
111110
# see https://github.com/actions/setup-node
112-
uses: actions/setup-node@v5
111+
uses: actions/setup-node@v6
113112
with:
114113
node-version: ${{ env.NODE_ACTIVE_LTS }}
115-
# cache: "npm"
116-
# cache-dependency-path: "**/package-lock.json"
114+
package-manager-cache: false
117115
- name: setup project
118116
run: npm install --ignore-scripts --loglevel=silly
119117
- name: setup tools
@@ -146,10 +144,10 @@ jobs:
146144
uses: actions/checkout@v5
147145
- name: Setup Node.js ${{ matrix.node-version }}
148146
# see https://github.com/actions/setup-node
149-
uses: actions/setup-node@v5
147+
uses: actions/setup-node@v6
150148
with:
151149
node-version: ${{ matrix.node-version }}
152-
# cache: 'npm'
150+
package-manager-cache: false
153151
- name: npm version
154152
run: npm --version
155153
- name: setup subject
@@ -225,10 +223,10 @@ jobs:
225223
- run: mkdir -p ${{ env.REPORTS_DIR }}
226224
- name: Setup Node.js ${{ matrix.node-version }}
227225
# see https://github.com/actions/setup-node
228-
uses: actions/setup-node@v5
226+
uses: actions/setup-node@v6
229227
with:
230228
node-version: ${{ matrix.node-version || env.NODE_ACTIVE_LTS }}
231-
# cache: 'npm'
229+
package-manager-cache: false
232230
- name: setup npm ${{ matrix.npm-version }}
233231
run: |
234232
npm i -g npm@${{ matrix.npm-version }}

.github/workflows/npm-ls_demo-results.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,11 @@ jobs:
8686
shell: bash # don't want to write tht code twice, windows and unix-like
8787
- name: Setup Node.js ${{ matrix.node-version }}
8888
# see https://github.com/actions/setup-node
89-
uses: actions/setup-node@v5
89+
uses: actions/setup-node@v6
9090
with:
9191
node-version: ${{ matrix.node-version }}
9292
check-latest: true
93+
package-manager-cache: false
9394
- name: up-/down-grade npm to ${{ matrix.npm-version }}
9495
run: npm i -g 'npm@${{ matrix.npm-version }}'
9596
- name: report versions

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ jobs:
5959
git config --local user.name "${GITHUB_ACTOR}"
6060
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
6161
# see https://github.com/actions/setup-node
62-
uses: actions/setup-node@v5
62+
uses: actions/setup-node@v6
6363
with:
6464
node-version: ${{ env.NODE_ACTIVE_LTS }}
65+
package-manager-cache: false
6566
## ! no npm build at the moment
6667
- name: bump VERSION
6768
id: bump
@@ -99,9 +100,10 @@ jobs:
99100
ref: ${{ needs.bump.outputs.version }}
100101
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
101102
# see https://github.com/actions/setup-node
102-
uses: actions/setup-node@v5
103+
uses: actions/setup-node@v6
103104
with:
104105
node-version: ${{ env.NODE_ACTIVE_LTS }}
106+
package-manager-cache: false
105107
- name: setup project
106108
run: |
107109
npm install --ignore-scripts --include=optional --loglevel=silly

0 commit comments

Comments
 (0)