From b800ea8e50241d9f9ee8cfea17d225d0ad139369 Mon Sep 17 00:00:00 2001 From: arzafran Date: Mon, 30 Jan 2023 17:07:56 -0300 Subject: [PATCH] use pnpm/action-setup in Github Action --- .github/workflows/publish.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0f74403..6ac3f33 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,13 +8,21 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Setup Node uses: actions/setup-node@v3 with: node-version: 16 registry-url: 'https://registry.npmjs.org' + + - name: Install pnpm + uses: pnpm/action-setup@v2 + with: + version: 7 + run_install: false + - name: Install dependencies and build - run: npm ci + run: pnpm i --frozen-lockfile - name: Publish package on NPM run: npm publish env: