Skip to content

Commit

Permalink
Fix: Run npm run build before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
haricnugraha committed Sep 10, 2024
1 parent 847cdd6 commit 86a2d94
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run build
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 0 additions & 2 deletions .npmignore

This file was deleted.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperjumptech/strapi-optimized-image",
"version": "0.0.4",
"version": "0.0.5",
"description": "Strapi optimized image",
"bugs": {
"url": "https://github.com/hyperjumptech/strapi-optimized-image/issues"
Expand Down

0 comments on commit 86a2d94

Please sign in to comment.