* Add 'script/deploy' to enable manual deploys to Heroku
* Pass API tokens into 'deploy-to-staging' module usage
* Construct Octokit instance to pass in
* Get PR branch name and verify state
* Reorganize
* Rename option to 'octokit'
* Add missing option
* Actually use the convenience methods for convenience
* Simplify top-level script
* Top-level script revisions
* Add parse-pr-url module
* Add create-staging-app-name module
* Remove misplaced comment
* Pass in owner
* Use owner param
* More variables
* Pass owner along more
* Correct prNumber param reference
* Add WIP deploy-to-staging module
* Prevent 'scripts/' and '.github/actions-scripts/' files from being modified in open source repo
* Extract PR author earlier
* Add note about optionally supplying DOCUBOT_REPO_PAT env var
* Override Heroku env var during AppSetup creation instead of later to avoid triggering a second deploy
* Updates to deploy-to-staging module
* Lots of updates
* Add dyno start-up monitoring and warmup requests
* Ignore 'script/deploy' in the repository-references test
* Correct path to Octokit helper
* Temporarily add a 'gha-' prefix to environment names
* Log whole error if terminal. Good for Octokit errors!
* Correct Octokit preview configuration
* Add more logging around Heroku build and release
* Added more timings to log messages
* Monitor dyno states specifically from the dyno list view to avoid 404 oddities when Free dynos are dropped and non-Free dynos are added
* Don't wait for AppSetup status as it includes the Build time
* Updating logging since we don't see DeploymentStatus update messages in the UI =(
* Remove commented out code
* Refactor to extract more properties from the PR object
* Fix reference to pull request number
* Increase Heroku polling intervals from 2.5 seconds to 5 seconds
* Remove unhelpful createDeploymentStatus API calls
* Workaround Heroku's secondary release upon app creation
* React: remove expose
* Update context.js
* More changes
* fix: scripts check for IS_NEXTJS_PAGE so there's no timing issue
* run lint
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
* Remove json.parse(json.stringify( usage to improve performance
* Fix missing / duplicate keys in some renders
* Fix missing react-is dependency (only seemed to cause problems from pruning on the heroku deploy)
* Add nextjs tag to datadog-connect config when nextjs is a query param
* Fix router.asPath usage to exclude query param
* Fix styling inconsistencies noticed when testing
* Add a few tests
* fix: req.csrfToken doesn't always exist (e.g. 500 page)
* feat: update dockerfile and add nextjs to build
* fix: run linter
* move @babel deps -> dev deps
* move webpack looking things from deps -> dev deps
* move pa11y-ci to optional dep
* explicitly include optional deps for pa11y
* allow heroku dev deps to be installed
* fix: update postcss module
* fix: update dockerfile build
* tmp: disable renderReact
* see if another deploy is slower/faster
* move a few more packages to devDeps
* upgrade to package-lock v2
* use dayjs instead of date-fns
* move cross-env to devDeps
* remove unused 'del' package
* commit husky precommit hooks
* add hrtime to clone-for-build.js
* Revert "add hrtime to clone-for-build.js"
This reverts commit 70ee647bacce833f4ed2f621f62c63c1d85e5413.
* update babel/eslint
* fix: remove unused plugin
* try a .slugignore
* fix: heroku-postbuild to use npm run build
* fix: i cannot spell dereferenced
* add .next/cache to heroku cacheDirectories
* test cached build
* remove aws-sdk, see what breaks
* move jest-puppeteer to optional deps
* fix: update browser-test.yml to use newer node version
* move jimp to optional dependencies
* move puppeteer to optional dependencies
* fix: ci optional include
* fix: bad copy pasta
* remove previous react experiment
* update tests/README.md with note about optional deps
* bump node test version back to 14
* convert package-lock back to v1
* fix: use node 15.x to leverage npm optional deps
* fix: optional dep install
* test: see what happens with heroku/nodejs-typescript buildpack
* back to heroku/nodejs buildpack
* move jest to optional
* revert jest move
* remove .slugignore
* cleanup dockerfile, move xlsx-population to optional, add comment about optional deps
* Update Dockerfile
Co-authored-by: James M. Greene <JamesMGreene@github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* New Crowdin translations by Github Action
* Reset broken translated files to English
* Ran script/i18n/homogenize-frontmatter.js
* Ran script/fix-translation-errors.js
* Reverted translated files with parsing and rendering errors
* fix malformed liquid
* add next directory to exclude list
* currentversion -> currentVersion
* fix liquid errors
* fix liquid errors
* Reset broken translated files to English
* Ran script/i18n/homogenize-frontmatter.js
* Revert /ja/github/authenticating-to-github/about-authentication-with-saml-single-sign-on
* Reset known broken translation files LAST
* Run script/i18n/homogenize-frontmatter.js
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* add review template and workflow
* use sha instead of version for action
* exclude template from check for private repo links
* Apply suggestions from code review
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>