Skip to content

Commit

Permalink
ci: fix the pkg.pr.new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EmileRolley committed Feb 26, 2025
1 parent 048c572 commit f411360
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 16 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ jobs:
name: Compile and test
run: yarn test

- id: compile
name: Compile
run: yarn compile

- name: Run pkg.pr.new
run: npx pkg-pr-new publish
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"devDependencies": {
"@incubateur-ademe/nosgestesclimat": "^3.5.4",
"@incubateur-ademe/publicodes-commun": "^1.1.5",
"@publicodes/tools": "https://pkg.pr.new/publicodes/publicodes/@publicodes/tools@1858c5e",
"@publicodes/tools": "^1.5.3",
"csv-parser": "^3.0.0",
"terser": "^5.36.0",
"tsup": "^8.3.5",
Expand All @@ -62,7 +62,7 @@
"access": "public"
},
"dependencies": {
"publicodes": "https://pkg.pr.new/publicodes/publicodes@1858c5e"
"publicodes": "^1.7.2"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
67 changes: 53 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -388,28 +388,30 @@
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==

"@publicodes/react-ui@https://pkg.pr.new/publicodes/publicodes/@publicodes/react-ui@1858c5ef8820f2a5fc1e70538e7cd32d3fa5f894":
"@publicodes/react-ui@^1.7.0":
version "1.7.1"
resolved "https://pkg.pr.new/publicodes/publicodes/@publicodes/react-ui@1858c5ef8820f2a5fc1e70538e7cd32d3fa5f894#cba04a607c781ae1b04e5e1961a82b7e43ccfd53"
resolved "https://registry.yarnpkg.com/@publicodes/react-ui/-/react-ui-1.7.1.tgz#c43ec02e8b397cbb72433dd485dbd4e54fa0b203"
integrity sha512-DVU/LXlL9IN+dKk8QK7a/+J3qlbeDvLrKQvIzkM3zkL4xXuEigmXl6E+r2t0Js8Zs05BUTeEvAgmOIkokfvkXw==
dependencies:
fuse.js "^7.0.0"
styled-components "^6.1.1"

"@publicodes/tools@https://pkg.pr.new/publicodes/publicodes/@publicodes/tools@1858c5e":
"@publicodes/tools@^1.5.3":
version "1.5.3"
resolved "https://pkg.pr.new/publicodes/publicodes/@publicodes/tools@1858c5e#e4d445f321d5b632873c7bb2062fd811452a7a9d"
resolved "https://registry.yarnpkg.com/@publicodes/tools/-/tools-1.5.3.tgz#d5d6619da81381adab55be694c4b8489b920e567"
integrity sha512-vgNchM7D9OgIeRWmeMhZa38h2IuJBkzB7yipClgNVIPOUFllUTcCt8h9cWNn9osfbu6FB3QAnUVTHXr8PbeTug==
dependencies:
"@clack/prompts" "^0.7.0"
"@oclif/core" "^4.2.5"
"@publicodes/react-ui" "https://pkg.pr.new/publicodes/publicodes/@publicodes/react-ui@1858c5ef8820f2a5fc1e70538e7cd32d3fa5f894"
"@publicodes/react-ui" "^1.7.0"
"@tailwindcss/typography" "^0.5.16"
"@tailwindcss/vite" "^4.0.0"
"@types/node" "^18.11.18"
chalk "^5.3.0"
chokidar "^4.0.3"
glob "^10.4.1"
path "^0.12.7"
publicodes "https://pkg.pr.new/publicodes/publicodes/publicodes@1858c5ef8820f2a5fc1e70538e7cd32d3fa5f894"
publicodes "^1.7.0"
react "^18.0.0"
react-dom "^18.0.0"
react-router-dom "^7.1.3"
Expand Down Expand Up @@ -862,7 +864,7 @@ color-name@~1.1.4:
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==

commander@^2.20.0:
commander@^2.19.0, commander@^2.20.0:
version "2.20.3"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
Expand Down Expand Up @@ -949,6 +951,11 @@ dir-glob@^3.0.1:
dependencies:
path-type "^4.0.0"

[email protected]:
version "1.0.0"
resolved "https://registry.yarnpkg.com/discontinuous-range/-/discontinuous-range-1.0.0.tgz#e38331f0844bba49b9a9cb71c771585aab1bc65a"
integrity sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ==

eastasianwidth@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb"
Expand Down Expand Up @@ -1416,6 +1423,11 @@ minimatch@^9.0.4, minimatch@^9.0.5:
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707"
integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==

moo@^0.5.0, moo@^0.5.2:
version "0.5.2"
resolved "https://registry.yarnpkg.com/moo/-/moo-0.5.2.tgz#f9fe82473bc7c184b0d32e2215d3f6e67278733c"
integrity sha512-iSAJLHYKnX41mKcJKjqvnAN9sf0LMDTXDEvFv+ffuRR9a1MIuXLjMNL6EsnDHSkKLTWNqQQ5uo61P4EbU4NU+Q==

ms@^2.1.3:
version "2.1.3"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
Expand All @@ -1435,6 +1447,16 @@ nanoid@^3.3.7, nanoid@^3.3.8:
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.8.tgz#b1be3030bee36aaff18bacb375e5cce521684baf"
integrity sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==

nearley@^2.20.1:
version "2.20.1"
resolved "https://registry.yarnpkg.com/nearley/-/nearley-2.20.1.tgz#246cd33eff0d012faf197ff6774d7ac78acdd474"
integrity sha512-+Mc8UaAebFzgV+KpI5n7DasuuQCHA89dmwm7JXw3TV43ukfNQ9DnBH3Mdb2g/I4Fdxc26pwimBWvjIw0UAILSQ==
dependencies:
commander "^2.19.0"
moo "^0.5.0"
railroad-diagrams "^1.0.0"
randexp "0.4.6"

object-assign@^4.0.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
Expand Down Expand Up @@ -1544,14 +1566,13 @@ process@^0.11.1:
resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"
integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==

[email protected], "publicodes@https://pkg.pr.new/publicodes/publicodes/publicodes@1858c5ef8820f2a5fc1e70538e7cd32d3fa5f894":
version "1.7.2"
resolved "https://pkg.pr.new/publicodes/publicodes/publicodes@1858c5ef8820f2a5fc1e70538e7cd32d3fa5f894#b6b9abc0b7045535ebc7ad8f1313e1c04b57db60"

"publicodes@https://pkg.pr.new/publicodes/publicodes@1858c5e":
publicodes@^1.7.0, publicodes@^1.7.2:
version "1.7.2"
uid b6b9abc0b7045535ebc7ad8f1313e1c04b57db60
resolved "https://pkg.pr.new/publicodes/publicodes@1858c5e#b6b9abc0b7045535ebc7ad8f1313e1c04b57db60"
resolved "https://registry.yarnpkg.com/publicodes/-/publicodes-1.7.2.tgz#8763a500ba3dc420a488a816a35c98b03dd6f43b"
integrity sha512-R9iqut98I1o4KMgmI8oRxfF1UqpPa4kce7ZPSJDvOTj6QMmCPAuIoF7bDTwJ8IkhSBQnFV59GNMggsS/czyQtw==
dependencies:
moo "^0.5.2"
nearley "^2.20.1"

punycode@^2.1.0:
version "2.3.1"
Expand All @@ -1563,6 +1584,19 @@ queue-microtask@^1.2.2:
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==

railroad-diagrams@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz#eb7e6267548ddedfb899c1b90e57374559cddb7e"
integrity sha512-cz93DjNeLY0idrCNOH6PviZGRN9GJhsdm9hpn1YCS879fj4W+x5IFJhhkRZcwVgMmFF7R82UA/7Oh+R8lLZg6A==

[email protected]:
version "0.4.6"
resolved "https://registry.yarnpkg.com/randexp/-/randexp-0.4.6.tgz#e986ad5e5e31dae13ddd6f7b3019aa7c87f60ca3"
integrity sha512-80WNmd9DA0tmZrw9qQa62GPPWfuXJknrmVmLcxvq4uZBdYqb1wYoKTmnlGUchvVWe0XiLupYkBoXVOxz3C8DYQ==
dependencies:
discontinuous-range "1.0.0"
ret "~0.1.10"

react-dom@^18.0.0:
version "18.3.1"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4"
Expand Down Expand Up @@ -1605,6 +1639,11 @@ resolve-from@^5.0.0:
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69"
integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==

ret@~0.1.10:
version "0.1.15"
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==

reusify@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
Expand Down

0 comments on commit f411360

Please sign in to comment.