Skip to content

Commit 6a88bf6

Browse files
committed
ci: fix ui-build tests
1 parent 264b25e commit 6a88bf6

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,12 @@ permissions:
33
contents: read
44
pull-requests: write
55

6-
on:
7-
pull_request:
8-
types: [opened, reopened, synchronize]
9-
branches:
10-
- master
6+
on: push
117

128
jobs:
139
npm:
1410
name: Publish to Npm
1511
runs-on: ubuntu-latest
16-
if: startsWith(github.ref, 'refs/tags/v')
1712
steps:
1813
- uses: actions/checkout@v4
1914

@@ -22,5 +17,14 @@ jobs:
2217
- name: Install dependencies
2318
run: npm install
2419

20+
- name: Build types
21+
run: npm run build:types
22+
23+
- name: Build
24+
run: npm run build
25+
26+
- name: Linting
27+
run: npx eslint
28+
2529
- name: Test
2630
run: npm run test --coverage

0 commit comments

Comments
 (0)