From fabe88aacf664a7c3f6ab47d90f6452e82ac0679 Mon Sep 17 00:00:00 2001 From: Ely De La Cruz <603428+elycruz@users.noreply.github.com> Date: Sat, 30 Dec 2023 09:40:15 -0500 Subject: [PATCH] repo - Updated publish.yml gh-action to use 'pnpm', instead of 'npm'. --- .github/workflows/publish.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a1eb79aa..da21879a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,15 +13,23 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + + - name: pnpm-setup + uses: pnpm/action-setup@v2 + + - name: node-setup - uses: actions/setup-node@v2 with: node-version: 18 registry-url: https://registry.npmjs.org/ + + - name: chrome-setup - uses: browser-actions/setup-chrome@latest - run: chrome --version - - run: npm ci - - run: npm run link-and-build:packages - - run: cd packages/fjl && npm publish + + - name: run-ci + - run: pnpm ci + - run: cd packages/fjl && pnpm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} PUPPETEER_EXE_PATH: $(which chrome)