GPT-4

Lint Test PR Workflow

Lint 测试 PR 工作流

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

创建一个GitHub Action,使其在每次打开或更新拉取请求时自动运行代码检查和测试。

S
System @system 2025年7月7日
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