diff --git a/.changeset/wet-houses-perform.md b/.changeset/wet-houses-perform.md
new file mode 100644
index 00000000..1f4d8326
--- /dev/null
+++ b/.changeset/wet-houses-perform.md
@@ -0,0 +1,5 @@
+---
+"@fuels/ui": patch
+---
+
+- Added pnpm build to the publish action, ensuring "dist" folder will be published
diff --git a/.github/workflows/release-npm-changeset.yml b/.github/workflows/release-npm-changeset.yml
index f0fe5940..0d3d21f2 100644
--- a/.github/workflows/release-npm-changeset.yml
+++ b/.github/workflows/release-npm-changeset.yml
@@ -46,6 +46,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:lib
+
       - name: Create Release Pull Request or Publish to NPM
         id: changesets
         uses: FuelLabs/changesets-action@main
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 26f25362..b31217e4 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -18,13 +18,13 @@
   "publishConfig": {
     "access": "public",
     "main": "./dist/index.cjs.js",
-    "module": "./dist/index.cjs.js",
+    "module": "./dist/index.esm.js",
     "types": "./dist/index.d.ts",
     "typings": "./dist/index.d.ts",
     "exports": {
       ".": {
         "import": "./dist/index.esm.js",
-        "require": "./dist/index.cjs.jg",
+        "require": "./dist/index.cjs.js",
         "default": "./dist/index.cjs.js",
         "types": "./dist/index.d.ts",
         "typings": "./dist/index.d.ts"