diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7da8476..8ce9d315 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,6 @@ jobs: - name: License check (staged) if: ${{ github.event_name == 'pull_request' }} run: pnpm lint:license:staged - - name: Licence check (non-staged) + - name: License check (non-staged) if: ${{ github.event_name != 'pull_request' }} run: pnpm lint:license diff --git a/tasks/check-license.cjs b/tasks/check-license.cjs index 67fa4e12..6cfdf3aa 100755 --- a/tasks/check-license.cjs +++ b/tasks/check-license.cjs @@ -70,7 +70,7 @@ const check = async (paths, options) => { checkPaths = await globby( gitIgnorePath.reduce( (acc, item) => acc.concat(gitignoreToGlob(item)), - ['**/*.{js,ts,tsx,scss,html}'] + ['**/*.{js,ts,tsx,scss,html}','!**/*.snap.js'], ) ); }