Skip to content

Commit 8ab885e

Browse files
authored
Merge pull request #119 from yoriiis/check-dist
Add verify script to check dist content
2 parents db86789 + 2d1aba4 commit 8ab885e

24 files changed

Lines changed: 798 additions & 57 deletions

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ jobs:
3636
download-artifact: true
3737
artifact-name: build-artifact-${{ matrix.os }}-${{ matrix.node-version }}
3838
command-install: npm ci --install-links
39+
command-test: npm run build && npm run test

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
download-artifact: true
3232
artifact-name: build-artifact-${{ matrix.os }}-${{ matrix.node-version }}
3333
command-install: npm ci --install-links
34+
command-test: npm run build && npm run test
3435

3536
lint:
3637
uses: yoriiis/chunks-webpack-plugin/.github/workflows/lint.yml@main

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ reports
99

1010
lib/
1111
types/
12+
13+
example/dist/

example/dist/chunks-manifest.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

example/dist/css/328.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

example/dist/css/app-b.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

example/dist/css/app-c.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

example/dist/css/shared/app-a.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

example/dist/js/328.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

example/dist/js/app-b.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)