course-tracker
course-tracker copied to clipboard
Task - Setup GitHub Actions
-
GitHub Actions should run on every Pull Request
- [x] Run linting ~~- [ ] Run testing~~
- [x] Attempt a build before merging
-
Github Actions is merged to main ~~- [ ] Tests are run~~
- [x] Build
- [ ] Should build into the "Staging" environment
- [x] Triggered by merging to
main
branch
-
GitHub Actions should have a Production Environment ~~- [ ] Tests are run~~
- [ ] Build
- [ ] Should build into the "Production" environment
- [ ] Manual release
This is blocked by Task - Client Setup (#5) and Task - Server Setup (#9)
Where are we on this?
We can build the client package, but I believe we need to set environment variables in GitHub to build the server package.
Next is adding linting.
Tried running linting with our own scripts, but didn't work because no files were staged, which is how scripts are currently set up. So we need to take a look at how to run the lint:fix and prettier independently.
Switched back to our scripts because marketplace script was looking at non-js files.