Commit Graph

34 Commits

Author SHA1 Message Date
Daniel Lockyer f145453120
Altered trigger branches for CI
- `4.x` needed adding so we can run tests on patches for Ghost v4
2022-05-02 18:17:01 +01:00
Renovate Bot d0a1bba400 Update codecov/codecov-action action to v3 2022-04-25 21:19:01 +01:00
Simon Backx f6db30244a Added `multiple-newsletters` branch to CI trigger 2022-04-21 10:53:50 +01:00
Daniel Lockyer 5ade50139c
Added `5.0` branch to CI trigger
refs https://github.com/TryGhost/Toolbox/issues/273

- ahead of v5, we need to branch off and run CI on the development
  branch
2022-04-05 09:28:12 +01:00
Renovate Bot bdd87fc603 Update actions/setup-node action to v3 2022-03-21 11:00:12 +00:00
Renovate Bot add5d09b74 Update actions/checkout action to v3 2022-03-21 09:54:27 +00:00
Gabriel Csapo e7d29054d6
[chore] adds ember-template-lint and fixes all fixable issues (#2238)
no issue

- This will help with the octane migration and you can still run the lint rules even when they are todos. (Checkout the docs at 158b119667/docs/todos.md) The good news is any new code will be checked against the recommended config.
- I fixed all the auto fixable things we could get in this PR as well
2022-02-02 16:09:43 +00:00
Daniel Lockyer 5ff231efff Added support for Node 16
refs https://github.com/TryGhost/Toolbox/issues/71

- Node 16 is now LTS so we're picking up support for it
- we're also bumping the minimum Node 14 version to 14.17.0 so it
  unblocks merging dependencies
- Admin needs the Node engine range and CI updating
- CI has been updated to the minimum Node 14 range as that is our
  recommended version
2021-10-27 10:46:00 +01:00
Daniel Lockyer 8a0782c043 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 cc74426bba
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 0a88346261
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 57c95c63d2
⬆️ 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 933b7d1bd2
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 8c030df0e4
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 267523ce7e Update actions/setup-node action to v2 2021-01-13 08:26:20 +00:00
Daniel Lockyer 267ff59178 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 c91719cc44 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 33249606ca 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 202a284760 Added Slack build notifications
no issue
2020-06-16 22:06:11 +01:00
Daniel Lockyer 67984b0080 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 9ace749826 Revert "Switched to Node.js container in Action"
- this reverts commit e4df8e15c2.
- the tests require more components than Node, which the container
  doesn't have
2020-04-06 11:35:51 +01:00
Daniel Lockyer e4df8e15c2 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 715a1253bc
Enabled CI on Renovate branches
no issue
2020-03-26 09:46:05 +00:00
Daniel Lockyer be7360867a Renamed GitHub Actions workflow file
no issue
2020-03-17 12:49:49 +00:00
Daniel Lockyer 05f4e303e2 Switched testing to GitHub Actions
no issue
2020-03-04 15:18:23 +00:00
Aileen Nowak b134b24679
Updated links to docs (#1276)
no issue
2019-07-22 16:53:24 +08:00
Hannah Wolfe 3ba467d739 Updated / simplified contributing.md
- synced with the main Ghost repo version
2019-02-11 16:44:34 +00:00
Hannah Wolfe 039834a483 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 065d39ee0f
Updated links to use v2 docs (#1036)
no issue

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