From 812a5696c9755dfa017e6bf3479adccdd71727a6 Mon Sep 17 00:00:00 2001 From: Ely De La Cruz <603428+elycruz@users.noreply.github.com> Date: Sat, 30 Dec 2023 10:13:28 -0500 Subject: [PATCH] gh-actions - Added missing action step. --- .github/workflows/monorepo-build.yml | 8 ++++---- .github/workflows/publish.yml | 18 ++++++------------ 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/monorepo-build.yml b/.github/workflows/monorepo-build.yml index bfaaf07a..6c55aa4b 100644 --- a/.github/workflows/monorepo-build.yml +++ b/.github/workflows/monorepo-build.yml @@ -24,15 +24,15 @@ jobs: steps: - uses: actions/checkout@v2 - - name: pnpm-setup - uses: pnpm/action-setup@v2 - with: - version: 8 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + - uses: pnpm/action-setup@v2 + with: + version: 8 - uses: browser-actions/setup-chrome@latest - run: chrome --version - run: pnpm i + - run: pnpm run link-and-build:packages - run: pnpm test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d3906067..a5993788 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,24 +13,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - - name: pnpm-setup - uses: pnpm/action-setup@v2 - with: - version: 8 - - - name: node-setup - uses: actions/setup-node@v2 with: node-version: 20.x registry-url: https://registry.npmjs.org/ - - - name: chrome-setup + - uses: pnpm/action-setup@v2 + with: + version: 8 - uses: browser-actions/setup-chrome@latest - - run: chrome --version - - run: pnpm i - - run: cd packages/fjl && pnpm publish + - run: npm ci + - run: npm run link-and-build:packages + - run: cd packages/fjl && npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} PUPPETEER_EXE_PATH: $(which chrome)