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を作成してください。」
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?