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" }