diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 94f911fd39e..e025615c049 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,8 +12,8 @@ on: types: [completed] env: - php-version: '8.1' - node-version: 18 + php-version: '8.2' + node-version: 20 concurrency: group: Build ${{ github.ref }} diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index fa65639a78e..2ea823898cd 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -5,7 +5,7 @@ on: types: [labeled, opened, synchronize, reopened] env: - node-version: 18 + node-version: 20 concurrency: group: Cypress tests ${{ github.ref }} @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['8.1'] + php-version: ['8.2'] browser: [chrome] containers: [1, 2, 3, 4, 5, 6, 7, 8] diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ce32dc9b321..4a5124cc534 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,8 +14,8 @@ on: workflow_dispatch: env: - php-version: '8.1' - node-version: 18 + php-version: '8.2' + node-version: 20 concurrency: group: Deploy ${{ github.ref }} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c910f31a4b5..c77d3ea12f3 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -6,8 +6,8 @@ on: - main env: - php-version: '8.1' - node-version: 18 + php-version: '8.2' + node-version: 20 concurrency: group: Docker ${{ github.ref }} @@ -32,7 +32,8 @@ jobs: uses: crazy-max/ghaction-docker-meta@v4 with: images: ghcr.io/monicahq/monica - tag-sha: true + tags: | + type=sha - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 diff --git a/.github/workflows/migration_tests.yml b/.github/workflows/migration_tests.yml index e526df83521..3b5fc0a244d 100644 --- a/.github/workflows/migration_tests.yml +++ b/.github/workflows/migration_tests.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['8.1'] + php-version: ['8.2'] connection: [mysql] steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 205d2f1eaaf..d77c0ebb0bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,9 +13,9 @@ on: workflow_dispatch: env: - php-version: '8.1' - build-node-version: 18 - semantic-node-version: 18 + php-version: '8.2' + build-node-version: 20 + semantic-node-version: 20 jobs: #################### diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 8242850ea4a..92d213e3fe8 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -9,7 +9,7 @@ on: types: [completed] env: - php-version: '8.1' + php-version: '8.2' concurrency: group: Static analysis ${{ github.ref }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9fc8d36ca98..0c9d6c40f57 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,8 +14,8 @@ on: types: [completed] env: - default-php-version: '8.1' - node-version: 18 + default-php-version: '8.2' + node-version: 20 concurrency: group: Unit tests ${{ github.ref }} @@ -32,7 +32,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['8.1'] + php-version: ['8.2'] connection: [mysql] testsuite: [Api, Feature, Commands-Other, Commands-Scheduling, Unit-Models, Unit-Services] # exclude: diff --git a/package.json b/package.json index d002e096a24..ef25223878e 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "composer update": "COMPOSER_MEMORY_LIMIT=-1 composer update" }, "engines": { - "node": "18.x", + "node": "20.x", "yarn": "1.22.x" }, "devDependencies": {