Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workflow for running checks on pushes and PRs #184

Merged
merged 3 commits into from
Oct 22, 2024
Merged

Conversation

taesungh
Copy link
Member

@taesungh taesungh commented Oct 20, 2024

Follow up from #182 and as part of #164.

Right now, only the workflow is created, the actual ESLint configuration still needs to be updated (to be handled separately). The preview deployment initially failing demonstrates that ESLint is now properly enforced during next build (was because of some lingering issues with react/no-unescaped-entities).

Changes

  • Switch to ESLint v8 for compatibility with Next
    • Downgrade eslint version to be compatible with eslint-config-next
    • Move eslint from root to individual packages
    • Move some site dependencies to devDependencies
  • Add Actions workflow for running checks, adapted from irvinehacks-site
    • Upgrade pnpm version specified in packageManager to match lockfile

- Downgrade eslint version to be compatible with eslint-config-next
- Move eslint from root to individual packages
- Move some site dependencies to devDependencies
- Add Actions workflow for running checks, adapted from irvinehacks-site
- Upgrade pnpm version specified in `packageManager` to match lockfile
Copy link

github-actions bot commented Oct 20, 2024

Deploy preview for zothacks-site-2023-sanity ready!

Name Sanity Studio
Preview Visit Preview
Commit 4b3f825

@taesungh
Copy link
Member Author

Looks like ESLint is now properly enforced during next build which is why the preview deployment is failing. Will fix these issues now then.

Copy link

Deploy preview for zothacks-site-2023 ready!

Name Hack at UCI Site
Preview Visit Preview
Commit 4b3f825

Copy link
Contributor

@waalbert waalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Taesung!

@waalbert waalbert merged commit 8ffc2e8 into main Oct 22, 2024
3 checks passed
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