Skip to content

Commit

Permalink
gh-actions - Added missing action step.
Browse files Browse the repository at this point in the history
  • Loading branch information
elycruz committed Dec 30, 2023
1 parent e48017b commit 812a569
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/monorepo-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
18 changes: 6 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 812a569

Please sign in to comment.