Commit Graph

26 Commits

Author SHA1 Message Date
Daniel Lockyer
f28769014c Added codecov.io coverage uploader to CI
refs https://linear.app/tryghost/issue/CORE-74/improve-the-test-situation

- this commit:
  - adds the `ember-cli-code-coverage` dependency to collect
    coverage from ember tests
  - enables the `COVERAGE` env variable in CI
  - merges coverage data because tests are run in parallel
  - adds the codecov GitHub Action into CI so we can upload
    coverage reports
2021-10-21 10:37:03 +02:00
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
Aileen Nowak
8e1f08f801 Updated links to docs (#1276)
no issue
2019-07-22 16:53:24 +08:00
Hannah Wolfe
7fb515e11c Updated / simplified contributing.md
- synced with the main Ghost repo version
2019-02-11 16:44:34 +00:00
Hannah Wolfe
e3a8972ac3 Syncing CONTRIB and PR templates with main repo
- lots of links were old and out of date
- updated contributing guide to match the one in Ghost
- updated PR guide to be similar to the one in Ghost, but with the Ghost-Admin test info
2019-01-15 20:51:49 +00:00
Katharina Irrgang
d0eb4eb992 Updated links to use v2 docs (#1036)
no issue

- found some more v1 links
2018-08-15 23:35:17 +02:00
Hannah Wolfe
b228d293cc Slack -> Forum
- replacing references to slack with forum
2018-04-02 17:06:14 +01:00
Aileen Nowak
da671b523b Removed roadmap reference from contributing guide 2018-03-22 10:14:45 +07:00
Kevin Ansfield
19a4ba4b84 Add CONTRIBUTING.md GitHub file
no issue
- use same contributing file as Ghost
2018-03-05 10:07:04 +00:00
Kevin Ansfield
08fa7bd4a7 Rename PULL_REQUEST_TEMPLATE to PULL_REQUEST_TEMPLATE.md 2016-05-23 10:50:15 +01:00
Kevin Ansfield
97e16ed09f Create PULL_REQUEST_TEMPLATE 2016-05-23 10:49:08 +01:00