From 2433bf404e01ea3fc79686153a63be620542446c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Thu, 30 Nov 2023 12:56:24 +0100 Subject: [PATCH] fix yarn setup --- .github/workflows/prod.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index d627dbf..3c922b1 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -9,29 +9,26 @@ on: branches: [ main ] jobs: - test: + publish-docker-hub: + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Set up Node uses: actions/setup-node@v3 with: registry-url: 'https://registry.npmjs.org' node-version-file: '.nvmrc' - - run: yarn install --immutable - - run: yarn build - - publish-docker-hub: - needs: test - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 + - name: Enable corepack + run: corepack enable - run: cp .env.sample .env + - run: yarn install --immutable + - name: Build run: yarn build