Skip to content

Commit

Permalink
fix: use pnpm build:libs before publishing (#1494)
Browse files Browse the repository at this point in the history
## Context
`@fuels/playwright-utils` was being published to npm without its dist
folder.

## This PR
- Adds `pnpm build:libs` before publishing

## Ref
- FuelLabs/fuel-explorer#569
-
https://www.npmjs.com/package/@fuels/playwright-utils/v/0.29.0?activeTab=code

Co-authored-by: Luiz Gomes <8636507+LuizAsFight@users.noreply.github.com>
  • Loading branch information
leocourbassier and LuizAsFight authored Sep 25, 2024
1 parent d631145 commit 9c7f3b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tidy-wombats-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fuels/playwright-utils": patch
---

- Added pnpm build to the publish action, ensuring "dist" folder will be published
3 changes: 3 additions & 0 deletions .github/workflows/release-npm-changeset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
- name: Build packages
run: pnpm build:libs

- name: Create Release Pull Request or Publish to NPM
id: changesets
uses: FuelLabs/changesets-action@main
Expand Down

0 comments on commit 9c7f3b1

Please sign in to comment.