From c3295cc821b4dc91773c1eb774b33f17a05a8d92 Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Wed, 2 Feb 2022 15:19:03 +0100 Subject: [PATCH] Update GitHub Actions to use PNPM --- .github/workflows/ci.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9987e90..364ba93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,11 +20,14 @@ jobs: - name: Setup Node uses: actions/setup-node@v2 with: - node-version: '14' + node-version: '16' + - uses: pnpm/action-setup@v2.0.1 + with: + version: 6.0.2 - name: Install dependencies - run: yarn + run: pnpm i - name: Lint - run: yarn lint + run: pnpm run lint build-docs: name: Build and test package and deploy docs @@ -36,11 +39,14 @@ jobs: - name: Setup Node uses: actions/setup-node@v2 with: - node-version: '14' + node-version: '16' + - uses: pnpm/action-setup@v2.0.1 + with: + version: 6.0.2 - name: Install dependencies - run: yarn + run: pnpm i - name: Test package - run: yarn test + run: pnpm run test - name: Copy built files to docs run: cp ./dist/shareon.min.* ./docs