From 0740fb31b530e125b1a64ba33bf7428f765c541d Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Mon, 22 Apr 2024 19:55:25 +0200 Subject: Switch package manager to pnpm --- .github/workflows/integration.yml | 12 ++++++++---- .github/workflows/release.yml | 15 +++++++++++++-- 2 files changed, 21 insertions(+), 6 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 937bc89..74ce7f6 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -23,16 +23,20 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - + name: pnpm setup + uses: pnpm/action-setup@v3 + with: + version: 8 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - cache: 'yarn' + cache: 'pnpm' - name: install dependencies - run: yarn install --frozen-lockfile --non-interactive + run: pnpm install --frozen-lockfile - name: Check code style & potentential issues - run: yarn lint - + run: pnpm lint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 44a128d..3981172 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,11 +13,22 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - + name: pnpm setup + uses: pnpm/action-setup@v3 + with: + version: 8 + - + name: Use Node.js 20 + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'pnpm' - name: Build project run: | - yarn install --frozen-lockfile --non-interactive - yarn build + pnpm install --frozen-lockfile + pnpm build - name: Create artifact working-directory: "dist" -- cgit v1.2.3