Skip to content

Commit

Permalink
Merge pull request #31 from victorsoares96/feat/fetch-binaries-in-pos…
Browse files Browse the repository at this point in the history
…tinstall

🩹 fix: some fixes in ci process
  • Loading branch information
victorsoares96 committed May 24, 2023
2 parents d863d0b + bad471c commit 3468e29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
- name: Build
run: yarn build

- name: Post Build
run : yarn ci-postbuild

- id: publish
uses: JS-DevTools/npm-publish@v1
with:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "compress-pdf",
"version": "0.3.2",
"version": "0.3.2-beta.12",
"templateVersion": "1.3.0",
"description": "An compress pdf library using ghostscript",
"main": "dist/index.js",
Expand All @@ -21,6 +21,7 @@
"type-check": "tsc --pretty --noEmit --skipLibCheck --esModuleInterop --resolveJsonModule",
"package": "npm run build && npm pkg set scripts.postinstall='node dist/install' && npm pack && npm pkg set scripts.postinstall='node install'",
"build": "tsup",
"ci-postbuild": "npm pkg set scripts.postinstall='node dist/install'",
"release": "npm run build && npm pkg set scripts.postinstall='node dist/install' && npm publish && npm pkg set scripts.postinstall='node install'",
"release-beta": "npm run build && npm pkg set scripts.postinstall='node dist/install' && npm publish --tag beta && npm pkg set scripts.postinstall='node install'",
"release-local": "npm run build && npm pkg set scripts.postinstall='node dist/install' && npm link && npm pkg set scripts.postinstall='node install' && echo [FINISH]: Run \"npm link compress-pdf\" to link the package to your project"
Expand Down

0 comments on commit 3468e29

Please sign in to comment.