Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

v3.0.0 (2019-03-15)

Latest
Compare
Choose a tag to compare
@shawnbot shawnbot released this 15 Mar 22:33
· 12 commits to master since this release
bc4097b

💥 Breaking changes

  • We now run the now CLI that's installed in this package. Repos using this action should be able to npm uninstall --save now and speed up installations a bit. Fixes #10.

  • We now pass --no-verify to the now CLI by default, which should speed up deployments, especially ones that scale. If verification is important, you can either:

    1. Pass the --verify argument via args = ["--verify"] in your Actions workflow; or
    2. Add {"@primer/deploy":{"verify":true}} to your package.json.

    Fixes #9.

🐛 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 via args = ["--retries=x"] or add {"@primer/deploy":{"retries":x}} to your package.json. Fixes #6. 🤞

🏠 Internal

  • We now use ecmaVersion: 2018 in our ESlint config so that we can use native async/await in our tests.