From 3f4d6f25d13034336128e84ef9371cc228bd2a6c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 11:39:42 +0000 Subject: [PATCH 1/8] Bump actions/upload-artifact from 2 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/deploy-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index aea4f671b..7e9dd9b87 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -41,7 +41,7 @@ jobs: - name: Upload build artifact 📤 if: github.event_name != 'pull_request' # We only need the build if we deploy it later. - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: build-folder path: docs/build/ From 700c048d02a46e2ce62b19212f97ee6497a2f8f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Jun 2024 22:31:08 +0000 Subject: [PATCH 2/8] Bump docker/build-push-action from 5 to 6 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v5...v6) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build-push-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-push-docker.yml b/.github/workflows/build-push-docker.yml index b5c5d9e41..73720c86f 100644 --- a/.github/workflows/build-push-docker.yml +++ b/.github/workflows/build-push-docker.yml @@ -40,7 +40,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push the image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: push: true no-cache: true From d924658d76d04823640682a3f5655f0a2b75d4b6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jul 2024 22:12:25 +0000 Subject: [PATCH 3/8] Bump JamesIves/github-pages-deploy-action from 4.1.0 to 4.6.3 Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.1.0 to 4.6.3. - [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases) - [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/4.1.0...v4.6.3) --- updated-dependencies: - dependency-name: JamesIves/github-pages-deploy-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/deploy-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index aea4f671b..e6daf87f7 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -66,7 +66,7 @@ jobs: path: docs/build/ - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.1.0 + uses: JamesIves/github-pages-deploy-action@v4.6.3 with: token: ${{ secrets.GITHUB_TOKEN }} branch: gh-pages # The branch the action should deploy to. From 88d5e77edb95fd814a670caea7966419319e87d1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jul 2024 22:12:29 +0000 Subject: [PATCH 4/8] Bump actions/setup-node from 2.1.5 to 4.0.3 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 4.0.3. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v4.0.3) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build-push-docker.yml | 2 +- .github/workflows/code-quality.yml | 6 +++--- .github/workflows/deploy-docs.yml | 2 +- .github/workflows/docker-build-test.yml | 2 +- .github/workflows/unit-tests.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-push-docker.yml b/.github/workflows/build-push-docker.yml index b5c5d9e41..cacd3e027 100644 --- a/.github/workflows/build-push-docker.yml +++ b/.github/workflows/build-push-docker.yml @@ -17,7 +17,7 @@ jobs: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v2.1.5 + uses: actions/setup-node@v4.0.3 with: node-version: 14.x diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index b56be32f4..1601e0b50 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -18,7 +18,7 @@ jobs: with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v2.1.5 + uses: actions/setup-node@v4.0.3 with: node-version: 14.x - name: Install pnpm @@ -41,7 +41,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: Setup Node.js - uses: actions/setup-node@v2.1.5 + uses: actions/setup-node@v4.0.3 with: node-version: 14.x - name: Install pnpm @@ -64,7 +64,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: Setup Node.js - uses: actions/setup-node@v2.1.5 + uses: actions/setup-node@v4.0.3 with: node-version: 14.x - name: Install pnpm diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index aea4f671b..ccc791ddf 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -21,7 +21,7 @@ jobs: persist-credentials: false - name: Setup Node.js 🧱 - uses: actions/setup-node@v2.1.5 + uses: actions/setup-node@v4.0.3 with: node-version: 14.x diff --git a/.github/workflows/docker-build-test.yml b/.github/workflows/docker-build-test.yml index ed6ae6623..3fccc2c37 100644 --- a/.github/workflows/docker-build-test.yml +++ b/.github/workflows/docker-build-test.yml @@ -19,7 +19,7 @@ jobs: with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v2.1.5 + uses: actions/setup-node@v4.0.3 with: node-version: 14.x - name: Install pnpm diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 2717ff088..29e93b652 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -27,7 +27,7 @@ jobs: mysql database: 'tms-testing-db' # Optional, default value is "test". The specified database which will be created mysql root password: 'some-password' # Required if "mysql user" is empty, default is empty. The root superuser password - name: Setup Node.js - uses: actions/setup-node@v2.1.5 + uses: actions/setup-node@v4.0.3 with: node-version: 14.x - name: Install pnpm From 725071274f58331efb36c150a13d51351627ba78 Mon Sep 17 00:00:00 2001 From: Mykhailo <90206262+Morphenoed@users.noreply.github.com> Date: Wed, 25 Dec 2024 19:04:27 +0100 Subject: [PATCH 5/8] Update deploy-docs.yml --- .github/workflows/deploy-docs.yml | 72 ++++++++++++------------------- 1 file changed, 28 insertions(+), 44 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 7e9dd9b87..bee217012 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -9,25 +9,31 @@ on: branches: - main +permissions: + contents: read + pages: write + id-token: write + jobs: - build: + build_and_deploy: name: Build Docs runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. - with: - persist-credentials: false + uses: actions/checkout@v3 - - name: Setup Node.js 🧱 - uses: actions/setup-node@v2.1.5 + - name: Setup Node.js + uses: actions/setup-node@v3 with: - node-version: 14.x - - - name: Install pnpm 🏃‍♀️ - run: npm i -g pnpm@latest-7 - + node-version: 20.x + + - name: Enable Corepack + run: corepack enable + + - name: Prepare pnpm using Corepack + run: corepack prepare pnpm + - name: Install node packages 📦 run: | pnpm install --frozen-lockfile @@ -38,37 +44,15 @@ jobs: working-directory: docs/ run: | pnpm build - - - name: Upload build artifact 📤 - if: github.event_name != 'pull_request' # We only need the build if we deploy it later. - uses: actions/upload-artifact@v4 - with: - name: build-folder - path: docs/build/ - retention-days: 1 # Keep the artifact for the minimal amount of time possible. - - deploy: - name: Deploy Docs - needs: build - if: success() && github.event_name != 'pull_request' # Only deploy the build if it is a push to the main branch and the build was successful. - runs-on: ubuntu-latest - - steps: - - name: Checkout 🛎️ - uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. - with: - persist-credentials: false - - - name: Download build artifact 📥 - uses: actions/download-artifact@v2 - with: - name: build-folder - path: docs/build/ - - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.1.0 + - name: Setup Pages + if: github.event_name != 'pull_request' + uses: actions/configure-pages@v5 + - name: Upload artifact + if: github.event_name != 'pull_request' + uses: actions/upload-pages-artifact@v3 with: - token: ${{ secrets.GITHUB_TOKEN }} - branch: gh-pages # The branch the action should deploy to. - folder: docs/build # The folder the action should deploy. The same as in "Download Build" step. - clean: true # Automatically remove deleted files from the deploy branch + path: 'docs/build' + - name: Deploy to GitHub Pages + if: github.event_name != 'pull_request' + id: deployment + uses: actions/deploy-pages@v4 From dddc271b644b3e5a428fcaac215018bf61c87843 Mon Sep 17 00:00:00 2001 From: Mykhailo <90206262+Morphenoed@users.noreply.github.com> Date: Wed, 25 Dec 2024 19:05:34 +0100 Subject: [PATCH 6/8] Update deploy-docs.yml --- .github/workflows/deploy-docs.yml | 72 ++++++++++++------------------- 1 file changed, 28 insertions(+), 44 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index e6daf87f7..bee217012 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -9,25 +9,31 @@ on: branches: - main +permissions: + contents: read + pages: write + id-token: write + jobs: - build: + build_and_deploy: name: Build Docs runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. - with: - persist-credentials: false + uses: actions/checkout@v3 - - name: Setup Node.js 🧱 - uses: actions/setup-node@v2.1.5 + - name: Setup Node.js + uses: actions/setup-node@v3 with: - node-version: 14.x - - - name: Install pnpm 🏃‍♀️ - run: npm i -g pnpm@latest-7 - + node-version: 20.x + + - name: Enable Corepack + run: corepack enable + + - name: Prepare pnpm using Corepack + run: corepack prepare pnpm + - name: Install node packages 📦 run: | pnpm install --frozen-lockfile @@ -38,37 +44,15 @@ jobs: working-directory: docs/ run: | pnpm build - - - name: Upload build artifact 📤 - if: github.event_name != 'pull_request' # We only need the build if we deploy it later. - uses: actions/upload-artifact@v2 - with: - name: build-folder - path: docs/build/ - retention-days: 1 # Keep the artifact for the minimal amount of time possible. - - deploy: - name: Deploy Docs - needs: build - if: success() && github.event_name != 'pull_request' # Only deploy the build if it is a push to the main branch and the build was successful. - runs-on: ubuntu-latest - - steps: - - name: Checkout 🛎️ - uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. - with: - persist-credentials: false - - - name: Download build artifact 📥 - uses: actions/download-artifact@v2 - with: - name: build-folder - path: docs/build/ - - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.6.3 + - name: Setup Pages + if: github.event_name != 'pull_request' + uses: actions/configure-pages@v5 + - name: Upload artifact + if: github.event_name != 'pull_request' + uses: actions/upload-pages-artifact@v3 with: - token: ${{ secrets.GITHUB_TOKEN }} - branch: gh-pages # The branch the action should deploy to. - folder: docs/build # The folder the action should deploy. The same as in "Download Build" step. - clean: true # Automatically remove deleted files from the deploy branch + path: 'docs/build' + - name: Deploy to GitHub Pages + if: github.event_name != 'pull_request' + id: deployment + uses: actions/deploy-pages@v4 From c077a5aa245cf71a9f451a27d26c895600431628 Mon Sep 17 00:00:00 2001 From: Mykhailo <90206262+Morphenoed@users.noreply.github.com> Date: Wed, 25 Dec 2024 19:06:27 +0100 Subject: [PATCH 7/8] Update deploy-docs.yml --- .github/workflows/deploy-docs.yml | 72 ++++++++++++------------------- 1 file changed, 28 insertions(+), 44 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index ccc791ddf..bee217012 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -9,25 +9,31 @@ on: branches: - main +permissions: + contents: read + pages: write + id-token: write + jobs: - build: + build_and_deploy: name: Build Docs runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. - with: - persist-credentials: false + uses: actions/checkout@v3 - - name: Setup Node.js 🧱 - uses: actions/setup-node@v4.0.3 + - name: Setup Node.js + uses: actions/setup-node@v3 with: - node-version: 14.x - - - name: Install pnpm 🏃‍♀️ - run: npm i -g pnpm@latest-7 - + node-version: 20.x + + - name: Enable Corepack + run: corepack enable + + - name: Prepare pnpm using Corepack + run: corepack prepare pnpm + - name: Install node packages 📦 run: | pnpm install --frozen-lockfile @@ -38,37 +44,15 @@ jobs: working-directory: docs/ run: | pnpm build - - - name: Upload build artifact 📤 - if: github.event_name != 'pull_request' # We only need the build if we deploy it later. - uses: actions/upload-artifact@v2 - with: - name: build-folder - path: docs/build/ - retention-days: 1 # Keep the artifact for the minimal amount of time possible. - - deploy: - name: Deploy Docs - needs: build - if: success() && github.event_name != 'pull_request' # Only deploy the build if it is a push to the main branch and the build was successful. - runs-on: ubuntu-latest - - steps: - - name: Checkout 🛎️ - uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. - with: - persist-credentials: false - - - name: Download build artifact 📥 - uses: actions/download-artifact@v2 - with: - name: build-folder - path: docs/build/ - - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.1.0 + - name: Setup Pages + if: github.event_name != 'pull_request' + uses: actions/configure-pages@v5 + - name: Upload artifact + if: github.event_name != 'pull_request' + uses: actions/upload-pages-artifact@v3 with: - token: ${{ secrets.GITHUB_TOKEN }} - branch: gh-pages # The branch the action should deploy to. - folder: docs/build # The folder the action should deploy. The same as in "Download Build" step. - clean: true # Automatically remove deleted files from the deploy branch + path: 'docs/build' + - name: Deploy to GitHub Pages + if: github.event_name != 'pull_request' + id: deployment + uses: actions/deploy-pages@v4 From d91e800b284bc8c08b66471dfaeaf78617f0402c Mon Sep 17 00:00:00 2001 From: Mykhailo <90206262+Morphenoed@users.noreply.github.com> Date: Wed, 25 Dec 2024 19:06:43 +0100 Subject: [PATCH 8/8] Delete .github/workflows/docker-build-test.yml --- .github/workflows/docker-build-test.yml | 36 ------------------------- 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/docker-build-test.yml diff --git a/.github/workflows/docker-build-test.yml b/.github/workflows/docker-build-test.yml deleted file mode 100644 index 3fccc2c37..000000000 --- a/.github/workflows/docker-build-test.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Docker image test -on: - push: - branches: - - main - - stable - pull_request: - branches: - - main - -jobs: - test-docker-image: - name: Test Docker image - runs-on: ubuntu-latest - - steps: - - name: Checkout 🛎️ - uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. - with: - persist-credentials: false - - name: Setup Node.js - uses: actions/setup-node@v4.0.3 - with: - node-version: 14.x - - name: Install pnpm - run: npm i -g pnpm@latest-7 - - name: Install node packages - run: | - pnpm install --frozen-lockfile - env: - CI: true - - name: Test docker image - working-directory: scripts/ - run: pnpx ts-node -- ./build-test-docker/buildAndTestDocker.ts - env: - CI: true