diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index 16b96c2..d9787f1 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -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 }} diff --git a/.npmignore b/.npmignore deleted file mode 100644 index e9109f6..0000000 --- a/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -.nyc_output -node_modules \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 808d61b..fdee3f3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@hyperjumptech/strapi-optimized-image", - "version": "0.0.4", + "version": "0.0.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@hyperjumptech/strapi-optimized-image", - "version": "0.0.4", + "version": "0.0.5", "license": "MIT", "devDependencies": { "@eslint/js": "^9.10.0", diff --git a/package.json b/package.json index eb36384..d1e638a 100644 --- a/package.json +++ b/package.json @@ -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"