mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-19 02:16:13 +02:00

[BUGFIX] Specify the Node.js version for GitHub Actions (#1318)

Also make the required Node.js and NPM versions in `package.json`
more specific.
This commit is contained in:
Oliver Klee 2024-05-20 22:16:03 +02:00 committed by GitHub
parent e1f4257927
commit 0f9e2c7c27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -92,6 +92,10 @@ jobs:
steps: steps:
- name: "Checkout" - name: "Checkout"
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: "Set up Node.js"
uses: actions/setup-node@v4
with:
node-version: "18.20.2"
- name: "Install modules" - name: "Install modules"
run: | run: |
npm ci npm ci

View file

@ -10,8 +10,8 @@
"version": "1.0.0", "version": "1.0.0",
"license": "ISC", "license": "ISC",
"engines": { "engines": {
"node": ">=18.19.0 <19.0.0", "node": "^18.20.0",
"npm": ">=10.0.0" "npm": "^10.5.0"
}, },
"scripts": { "scripts": {
"lint:js": "eslint 'Resources/Public/**/*.js'", "lint:js": "eslint 'Resources/Public/**/*.js'",