JamesAlexanderHill / personal-website

A personal website
1 stars 0 forks source link

personal-website

A personal website

Workflows

Linting

All Pull Requests will check for changes to HTML, CSS and JS files in the /src directory and run the relevant linting workflows. If you want to skip a specific linting workflow you can add the following strings to your commit message: [skip actions].

If you would like to automatically fix linting issues on your local machine you can run npm run lint-fix.

New Release (Manual)

  1. Merge PR with changes into main
  2. Update local main with git pull
  3. Bump version + tag with npm version ${type} where type = patch, minor, major
  4. Push up tags to remote using git push --follow-tags
  5. Draft a new release on github with the title being the new version eg. v3.2.4
  6. Generate release notes + add any additional info
  7. Publish release + ensure successful release via github actions

New Release (Workflow)

  1. Goto github actions
  2. Click on version-bump
  3. Open Run workflow dropdown
  4. Select type of version to tag off (patch | minor | major)
  5. Click Run Workflow
  6. Draft a new release on github with the title being the new version eg. v3.2.4
  7. Generate release notes + add any additional info
  8. Publish release + ensure successful release via github actions