diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 23e8ad1..a82d50f 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -6,8 +6,32 @@ name: Node.js CI on: push: branches: [ main ] + paths: + - 'index.js' + - 'bin/**' + - 'lib/**' + - 'test/**' + - 'package.json' + - 'package-lock.json' + - 'menu.json' + - 'solutions/**' + - 'problems/**' + - 'i18n/**' + - '.github/workflows/node.js.yml' pull_request: branches: [ main ] + paths: + - 'index.js' + - 'bin/**' + - 'lib/**' + - 'test/**' + - 'package.json' + - 'package-lock.json' + - 'menu.json' + - 'solutions/**' + - 'problems/**' + - 'i18n/**' + - '.github/workflows/node.js.yml' jobs: build: