From df817874ff16c1d9b12865e4a6f9972a2ffc0f9c Mon Sep 17 00:00:00 2001 From: Thomas Schallert Date: Thu, 30 Mar 2023 22:00:35 +0200 Subject: [PATCH] fix: yarn --- .github/workflows/storybook.yml | 7 ++++++- .yarnrc.yml | 2 ++ package.json | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 47be5920..12ff0a59 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -23,7 +23,12 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 16.19.1 + - name: Setup yarn + - run: yarn set version berry + - uses: actions/setup-node@v3 + with: + node-version: 16.19.1 cache: yarn - run: yarn install - run: yarn build-storybook diff --git a/.yarnrc.yml b/.yarnrc.yml index 3186f3f0..07e7cc87 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1 +1,3 @@ nodeLinker: node-modules + +yarnPath: .yarn/releases/yarn-3.5.0.cjs diff --git a/package.json b/package.json index 3d054320..68083d3b 100644 --- a/package.json +++ b/package.json @@ -31,5 +31,6 @@ "license": "MIT", "dependencies": { "npm": "^9.2.0" - } + }, + "packageManager": "yarn@3.5.0" }