From a8483255c3afbd3a9bf10979242792ff624f5f5a Mon Sep 17 00:00:00 2001 From: Samuel Date: Fri, 15 Nov 2024 23:29:32 +0100 Subject: [PATCH] ci: update workflows --- .github/workflows/docker-build.yml | 2 +- .github/workflows/lint-and-build.yml | 3 +-- .github/workflows/semantic-release.yml | 9 ++++++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 0b9c964..cced7fe 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -10,6 +10,6 @@ on: jobs: dockerize: - uses: GEWIS/actions/.github/workflows/docker-build.yml@v0.0.2 + uses: GEWIS/actions/.github/workflows/docker-build.yml@v1.0.0 with: projects: '["."]' \ No newline at end of file diff --git a/.github/workflows/lint-and-build.yml b/.github/workflows/lint-and-build.yml index 7d7f674..656dca7 100644 --- a/.github/workflows/lint-and-build.yml +++ b/.github/workflows/lint-and-build.yml @@ -10,10 +10,9 @@ on: jobs: build-and-lint: - uses: GEWIS/actions/.github/workflows/typescript-lint-and-build.yml@v0.0.2 + uses: GEWIS/actions/.github/workflows/lint-and-build-yarn.yml@v with: node-version: "22.x" - package-manager: "yarn" lint: true format: true build: true \ No newline at end of file diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index da554e8..91e2be8 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -6,12 +6,19 @@ on: - main jobs: + versioning: + uses: GEWIS/actions/.github/workflows/versioning.yml@v1.0.0 + semantic-release: - uses: GEWIS/actions/.github/workflows/semantic-release.yml@v0.0.2 + uses: GEWIS/actions/.github/workflows/semantic-release.yml@v1.0.0 + needs: versioning + if: ${{ needs.versioning.outputs.next-version != '' }} with: projects: "['.']" + version: ${{ needs.versioning.outputs.next-version }} docker_registry: "abc.docker-registry.gewis.nl" docker_paths: "['eou/plankapi']" + github-registry: "true" secrets: REGISTRY_USERNAME: ${{ secrets.SVC_GH_ABCEOU_USERNAME }} REGISTRY_PASSWORD: ${{ secrets.SVC_GH_ABCEOU_PWD }} \ No newline at end of file