X Tutup
Skip to content

Commit 3fdd9f4

Browse files
committed
feat: add filename format lint
1 parent 2dfdba3 commit 3fdd9f4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test packages.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ jobs:
2727
- name: lint
2828
run: npm run lint
2929

30+
filename-lint:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: batista/lint-filenames@v1
34+
with:
35+
path: './packages'
36+
pattern: '/^[a-z\\d-\\/\\.]+$/'
37+
3038
test-designer:
3139
runs-on: ubuntu-latest
3240
steps:

0 commit comments

Comments
 (0)
X Tutup