From 2cf7e3d074ef7ec1b165ad942072952b88f280f2 Mon Sep 17 00:00:00 2001 From: Beatrycze Volk Date: Fri, 9 Aug 2024 10:34:34 +0200 Subject: [PATCH 1/3] Update GitHub Actions to use new Node version --- .github/workflows/npm-grunt.yml | 6 +++--- .github/workflows/phpstan.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-grunt.yml b/.github/workflows/npm-grunt.yml index a07f907..10baffc 100644 --- a/.github/workflows/npm-grunt.yml +++ b/.github/workflows/npm-grunt.yml @@ -12,14 +12,14 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [20.x] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: npm diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 8d88615..35c5266 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies uses: php-actions/composer@v6 From 9bf27eed4e80311abb29f6fab6b9e38b90fc6b06 Mon Sep 17 00:00:00 2001 From: Beatrycze Volk Date: Fri, 9 Aug 2024 10:34:45 +0200 Subject: [PATCH 2/3] Update .gitnore to not include public and vendor directories --- .gitignore | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 351be02..5cf5d0b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ -.idea/ .DS_Store -node_modules/ +.idea/ .vscode/ +node_modules/ +public/ +vendor/ +composer.lock *.map \ No newline at end of file From 2115057c5faff3741edc416eb5a64982c097a612 Mon Sep 17 00:00:00 2001 From: Beatrycze Volk Date: Fri, 9 Aug 2024 10:35:03 +0200 Subject: [PATCH 3/3] Update Grunt version --- Build/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Build/package.json b/Build/package.json index 9d2f530..71ea6cc 100644 --- a/Build/package.json +++ b/Build/package.json @@ -13,7 +13,8 @@ "license": "GPL-3.0-or-later", "homepage": "https://digital.slub-dresden.de", "devDependencies": { - "grunt": "^1.5.3", + "grunt": "^1.6", + "grunt-cli": "^1.5.0", "grunt-contrib-jshint": "^3.2.0", "grunt-contrib-less": "^2.0.0", "grunt-contrib-watch": "^1.1.0",