Skip to content

Commit cbe948d

Browse files
committed
Fix workflow
1 parent 8360c88 commit cbe948d

1 file changed

Lines changed: 19 additions & 10 deletions

File tree

.github/workflows/lint.yml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
name: Lint test
2-
on: [push]
2+
3+
on:
4+
push:
5+
pull_request:
6+
merge_group:
7+
workflow_dispatch:
8+
39
jobs:
410
run:
511
name: Run
612
runs-on: ubuntu-latest
713
steps:
8-
- uses: actions/checkout@v6
9-
with:
10-
submodules: true
11-
- uses: actions/setup-node@v6
12-
with:
13-
node-version: 'lts/*'
14-
cache: 'npm'
15-
- run: npm install
16-
- run: $(npm bin)/web-ext lint --self-hosted
14+
- uses: actions/checkout@v6
15+
with:
16+
submodules: recursive
17+
18+
- uses: actions/setup-node@v6
19+
with:
20+
node-version: 'lts/*'
21+
cache: npm
22+
23+
- run: npm ci
24+
25+
- run: npx web-ext lint --self-hosted

0 commit comments

Comments
 (0)