From eb6690ee96683114845fba7cc9951cd33ed5394f Mon Sep 17 00:00:00 2001 From: Arnaud Grall Date: Fri, 3 May 2024 14:12:21 +0200 Subject: [PATCH] all in one --- .github/workflows/npm_test_doc.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/npm_test_doc.yml b/.github/workflows/npm_test_doc.yml index 06ccb05..ca78bca 100644 --- a/.github/workflows/npm_test_doc.yml +++ b/.github/workflows/npm_test_doc.yml @@ -13,8 +13,6 @@ jobs: # node-version: ['18', '19', '20', '21', '22', 'lts/*'] node-version: ['lts/*'] steps: - - name: Install yarn@berry first - run: npm install -g yarn@berry && yarn set version 4.2.1 && yarn --version - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 @@ -28,7 +26,7 @@ jobs: key: ${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('yarn.lock') }} - name: Package install if: steps.cache.outputs.cache-hit != 'true' - run: yarn --version && yarn install + run: ynpm install -g yarn@berry && yarn set version 4.2.1 && yarn --version && yarn install - name: Test run: yarn test