Skip to content

Commit a84b756

Browse files
authored
Allow more glob versions, since glob 8 is deprecated (#639)
* Allow more glob versions, since glob 8 is deprecated * Install glob 8 for old Node.js in CI (because of package-lock.json) * Use glob 10 during development
1 parent 7e9ebf3 commit a84b756

File tree

3 files changed

+184
-24
lines changed

3 files changed

+184
-24
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
env:
5151
NO_ELM_TOOLING_INSTALL: 1
5252

53+
- name: install glob 8
54+
if: steps.cache-node_modules.outputs.cache-hit != 'true' && (matrix.node-version == '12.x' || matrix.node-version == '14.x')
55+
run: npm install glob@8
56+
5357
- name: elm-tooling install
5458
run: npx --no-install elm-tooling install
5559

package-lock.json

Lines changed: 179 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"commander": "^9.4.1",
4949
"cross-spawn": "^7.0.6",
5050
"elm-solve-deps-wasm": "^1.0.2 || ^2.0.0",
51-
"glob": "^8.0.3",
51+
"glob": "^8.0.3 || ^9.0.0 || ^10.0.0 || ^11.0.0",
5252
"graceful-fs": "^4.2.10",
5353
"split": "^1.0.1",
5454
"which": "^2.0.2",

0 commit comments

Comments
 (0)