Commit Graph

16 Commits

Author SHA1 Message Date
Daniel Lockyer
3d7d491f64 Fixed notifications for build failures
no issue

- we were still referencing `master` here, whereas we've since switched
  to `main`
- this commit updates the workflow to trigger the notification if it
  fails on `main`
- also enables testing on `v4.*` branches
2021-08-16 15:51:30 +01:00
Daniel Lockyer
f1954f8772 Added CI step to trigger canary build
refs 84bfbae282

- if Admin is pushed to after Ghost, the canary build won't contain
  Admin changes, so we need to trigger another canary build
- this commit adds a final step to the CI flow that will trigger the
  Ghost canary build if all steps were successful
2021-06-01 17:16:08 +01:00
Daniel Lockyer
998d42fc33 ⬆️ Bumped minimum Node version to 12.22.1 and 14.16.1
refs https://nodejs.org/en/blog/vulnerability/april-2021-security-releases/

- these are the latest security releases and we should encourage people
  to upgrade to them
- also replaces Node 12 in the tests with Node 14 as this is soon our
  recommended version
2021-05-07 14:10:26 +01:00
Daniel Lockyer
db67a7f06b Updated test workflow for default branch rename
- 4.0 is now main, which is the default branch
2021-02-02 17:56:51 +00:00
Daniel Lockyer
48ffdce2c3 Enabled test suite for 4.0 branch
no issue

- we'd like to run the tests on the new 4.0 branch, so this commit add
  it to the trigger list and allows Slack notifications for failures
2021-01-21 11:00:36 +00:00
Renovate Bot
6e5fca1e63 Update actions/setup-node action to v2 2021-01-13 08:26:20 +00:00
Daniel Lockyer
bf797e3ad2 Fixed missing GitHub Action in workflow
- must have missed it when applying a specific Node version to the
  workflow
2020-11-23 11:16:05 +00:00
Daniel Lockyer
ad98c53cc8 Extracted linting test to separate job
- we don't need to run linting twice as we do currently in the Firefox &
  Chrome jobs
- also pins the Node version to 12.18.0 so we can be sure what Node
  version we're running with
2020-11-10 12:36:56 +00:00
Daniel Lockyer
1f789f8742 Added production build test to CI
- we recently had an issue where a dependency update broke the
  release process because it was building in production mode, but our CI
  never ran in this mode and we missed it
- this commit adds a test to run in prod mode so hopefully we catch it
  next time
2020-09-07 12:47:10 +01:00
Daniel Lockyer
19bf9cedfa Added Slack build notifications
no issue
2020-06-16 22:06:11 +01:00
Daniel Lockyer
4f8e9b9bd8 Switched to using built-in Node.js for tests
no issue

- setup-node was randomly failing to download because of an upstream Node issue
- this commit switches to using the build in Node version
2020-04-06 13:14:13 +01:00
Daniel Lockyer
36bcae2205 Revert "Switched to Node.js container in Action"
- this reverts commit 3e3a2af71a.
- the tests require more components than Node, which the container
  doesn't have
2020-04-06 11:35:51 +01:00
Daniel Lockyer
3e3a2af71a Switched to Node.js container in Action
no issue

- using the setup-node action is currently failing because of an
  upstream issue - https://github.com/nodejs/node/issues/32683
- this commit switches to using a Docker container
2020-04-06 11:27:54 +01:00
Daniel Lockyer
f513f39340 Enabled CI on Renovate branches
no issue
2020-03-26 09:46:05 +00:00
Daniel Lockyer
49d0736d00 Renamed GitHub Actions workflow file
no issue
2020-03-17 12:49:49 +00:00
Daniel Lockyer
e65b4f06c5 Switched testing to GitHub Actions
no issue
2020-03-04 15:18:23 +00:00