Skip to content

Commit

Permalink
fix yarn setup
Browse files Browse the repository at this point in the history
  • Loading branch information
karolsojko committed Nov 30, 2023
1 parent 95d8bf1 commit 2433bf4
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2433bf4

Please sign in to comment.