💥 Breaking changes
-
We now run the
now
CLI that's installed in this package. Repos using this action should be able tonpm uninstall --save now
and speed up installations a bit. Fixes #10. -
We now pass
--no-verify
to thenow
CLI by default, which should speed up deployments, especially ones that scale. If verification is important, you can either:- Pass the
--verify
argument viaargs = ["--verify"]
in your Actions workflow; or - Add
{"@primer/deploy":{"verify":true}}
to yourpackage.json
.
Fixes #9.
- Pass the
🐛 Bug fixes
-
We now retry the initial ("root") deployment 3 times by default to work around some increasingly frequent and cryptic errors with no useful output. My hunch is that these were just intermittent failures that we can push through, which seems to have proven true (anecdotally at least) in primer/react#429.
To adjust the number of retries, pass
--retries
viaargs = ["--retries=x"]
or add{"@primer/deploy":{"retries":x}}
to yourpackage.json
. Fixes #6. 🤞
🏠 Internal
- We now use
ecmaVersion: 2018
in our ESlint config so that we can use native async/await in our tests.