Skip to content

Conversation

@aendra-rininsland
Copy link

@aendra-rininsland aendra-rininsland commented Dec 17, 2023

I used an earlier version of Starter for a project recently and noticed the CI wasn't working as expected. From this I realised that it's not actually building the code in CI or installing dependencies.

This PR improves the GitHub Actions workflow by:

  • Moving built/ code to .gitignore
  • built/ removed from VC
  • npm run build run via postinstall hook
  • actions/setup-node added to workflow so code is built in CI

- Moving `built/` code to `.gitignore`
- `built/` removed from VC
- `npm run build` run via postinstall hook
- `actions/setup-node` added to workflow so code is built in CI
@JohnONolan
Copy link
Member

Built files are intentionally committed so people can download theme repositories as zips from github and upload them directly to Ghost

@JohnONolan JohnONolan closed this Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants