diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 30bdf46..6882388 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -69,6 +69,7 @@ jobs:
           cache: "npm"
 
       - run: npm i
+      - run: npm run build
 
       - name: Publish to npm registry
         run: npm publish --access public