Skip to content

Commit

Permalink
remove build because not work and add prepublish
Browse files Browse the repository at this point in the history
  • Loading branch information
victorhdsp committed Aug 17, 2024
1 parent aa9b939 commit d5ff171
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "pixelite",
"description": "Comprime as imagens de um diretório especificado, cria um backup fora do diretorio com as imagens originais e substitui as imagens do diretório especificado pelas imagens comprimidas, adicionando tambem uma versão WEBP da imagem",
"version": "4.0.2",
"version": "4.0.2-1",
"main": "./lib/index.js",
"type": "module",
"keywords": [
"image",
"compress",
Expand All @@ -13,6 +14,7 @@
"avif",
"convert image"
],
"prepublish": "tsc",
"directories": {
"lib": "lib"
},
Expand Down

0 comments on commit d5ff171

Please sign in to comment.