Skip to content

Commit

Permalink
repo - Updated publish.yml gh-action to use 'pnpm', instead of 'npm'.
Browse files Browse the repository at this point in the history
  • Loading branch information
elycruz committed Dec 30, 2023
1 parent 93d2f8a commit fabe88a
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit fabe88a

Please sign in to comment.