Skip to content

Commit e73e844

Browse files
committed
#74 update github actions
1 parent 914be2c commit e73e844

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/lint.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ jobs:
2222
with:
2323
node-version: 24
2424
registry-url: "https://registry.npmjs.org"
25-
- run: npm install -g npm@latest
26-
- run: |
27-
npm install
28-
npx eslint ./src/**/*.ts
25+
- run: npm install -D eslint-plugin-unused-imports
26+
working-directory: ./template
27+
- run: npx eslint ./src/**/*.ts
2928
working-directory: ./template
3029

3130
windows-browser-test:
@@ -39,8 +38,7 @@ jobs:
3938
with:
4039
node-version: 24
4140
registry-url: "https://registry.npmjs.org"
42-
- run: npm install -g npm@latest
43-
- run: |
44-
npm install
45-
npx eslint ./src/**/*.ts
41+
- run: npm install -D eslint-plugin-unused-imports
42+
working-directory: ./template
43+
- run: npx eslint ./src/**/*.ts
4644
working-directory: ./template

0 commit comments

Comments
 (0)