GPT-4

Lint Test PR Workflow

Create a GitHub Action that automatically runs linting and tests whenever a pull request is opened or updated.

S
System @system July 7, 2025
8382 views 330 likes 46 favorites

Prompt

I want an Action that runs npm run lint and npm test whenever a pull request is opened or updated. Can you write that and explain how it works?

Tags

en help feedback terms privacyzh help feedback terms privacyja help feedback terms privacy