Skip to content

Commit b26d7b7

Browse files
committed
Fix npm publish job
1 parent 2de5505 commit b26d7b7

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
- name: Test ESLint
3434
run: npm run test:eslint
3535

36+
- name: Test Typescript
37+
run: npm run test:types
38+
3639
- name: Test Markdown
3740
run: npm run test:markdown
3841

@@ -56,6 +59,11 @@ jobs:
5659
name: coverage
5760
path: coverage
5861

62+
- name: Build
63+
run: |
64+
npm run build
65+
npm run build:example
66+
5967
- name: Upload package lib artifacts
6068
uses: actions/upload-artifact@v3
6169
if: github.event_name == 'release' &&
@@ -74,11 +82,6 @@ jobs:
7482
name: package-types
7583
path: types
7684

77-
- name: Build
78-
run: |
79-
npm run build
80-
npm run build:example
81-
8285
deploy-coverage:
8386
runs-on: ubuntu-latest
8487
timeout-minutes: 10

0 commit comments

Comments
 (0)