Skip to content

Commit

Permalink
Use npx (#41)
Browse files Browse the repository at this point in the history
* Use npx

* Build on PRs too
  • Loading branch information
anxolin authored Jul 5, 2024
1 parent 45a08a4 commit 1aa72f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches: [main]
tags: [v*]

pull_request:
types: [opened, synchronize]

jobs:
docker:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"strapi": "strapi",
"publish:lib": "scripts/publish-lib.sh",
"prepublishOnly": "echo '❌ ERROR: The lib should be published from \"lib\" directory. Read README for more information.' && exit 99",
"postinstall": "patch-package"
"postinstall": "npx patch-package"
},
"dependencies": {
"@strapi/plugin-documentation": "4.13.3",
Expand Down

0 comments on commit 1aa72f5

Please sign in to comment.