diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml deleted file mode 100644 index 20cc3b1ab..000000000 --- a/.github/workflows/next.yml +++ /dev/null @@ -1,74 +0,0 @@ -name: next branch - -on: - push: - branches: - - next - -env: - CI: "true" - -jobs: - commitlint: - runs-on: ubuntu-latest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: wagoid/commitlint-github-action@v5 - node: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Use Node.js 22 - uses: actions/setup-node@v3 - with: - node-version: 22 - - name: install - run: | - corepack enable - pnpm i --frozen-lockfile - env: - CYPRESS_INSTALL_BINARY: 0 - - name: types - run: | - pnpm test:ts - - name: unit test - run: | - pnpm test:unit - - name: lint - run: | - pnpm lint - docker: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - name: docker - uses: elgohr/Publish-Docker-Github-Action@v5 - with: - name: marudor/bahn.expert/standalone - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - registry: ghcr.io - platforms: linux/amd64,linux/arm64 - tags: "next,${{ github.sha }}" - createDeploy: - runs-on: ubuntu-latest - needs: - - docker - - node - steps: - - name: "Create Deployment" - uses: avakar/create-deployment@v1.0.2 - with: - ref: ${{ github.sha }} - task: deploy - environment: next - required_contexts: docker - payload: '{"value_files": ["./config/_common.yml","./config/next.yml"],"release": "bahn-expert-next","namespace": "marudor","track": "stable"}' - env: - GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7852faaff..792c5db7e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,6 +35,7 @@ jobs: pnpm i --frozen-lockfile env: CYPRESS_INSTALL_BINARY: 0 + COREPACK_INTEGRITY_KEYS: 0 - name: unit test run: | pnpm test:unit @@ -64,6 +65,8 @@ jobs: run: | corepack enable pnpm i --frozen-lockfile + env: + COREPACK_INTEGRITY_KEYS: 0 - name: Run Cypress uses: cypress-io/github-action@v6 with: @@ -98,6 +101,8 @@ jobs: run: | corepack enable pnpm i --frozen-lockfile + env: + COREPACK_INTEGRITY_KEYS: 0 - name: Run Cypress uses: cypress-io/github-action@v6 with: @@ -135,6 +140,7 @@ jobs: pnpm i --frozen-lockfile pnpm percy build:finalize env: + COREPACK_INTEGRITY_KEYS: 0 PERCY_TOKEN: web_63aaa4d04fb56e5bb41b4547417eac37310a4b8dd2ef6f2e6e444215eacb01b3 docker: runs-on: ubuntu-latest diff --git a/Dockerfile b/Dockerfile index 16714dbb0..69326a552 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM --platform=$BUILDPLATFORM node:22-alpine AS base +ENV COREPACK_INTEGRITY_KEYS=0 RUN corepack enable WORKDIR /app ENV CYPRESS_INSTALL_BINARY=0 diff --git a/package.json b/package.json index 70d429361..ccc2535d7 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "type": "module", "private": true, "engineStrict": true, - "packageManager": "pnpm@9.15.2+sha512.93e57b0126f0df74ce6bff29680394c0ba54ec47246b9cf321f0121d8d9bb03f750a705f24edc3c1180853afd7c2c3b94196d0a3d53d3e069d9e2793ef11f321", + "packageManager": "pnpm@9.15.5+sha512.845196026aab1cc3f098a0474b64dfbab2afe7a1b4e91dd86895d8e4aa32a7a6d03049e2d0ad770bbe4de023a7122fb68c1a1d6e0d033c7076085f9d5d4800d4", "commitlint": { "extends": [ "@commitlint/config-conventional"