We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
npm run package
1 parent 986a257 commit c10c4e2Copy full SHA for c10c4e2
.github/workflows/test.yml
@@ -15,6 +15,16 @@ jobs:
15
- run: npm ci
16
- run: npm run build
17
- run: npm run test
18
+ - run: npm run package
19
+ - name: Verify that `dist/index.js` is up to date
20
+ shell: bash
21
+ run: |
22
+ # `ncc` produces output with mixed line endings
23
+ test -z "$(git diff -w HEAD | tee diff.txt)" || {
24
+ echo 'Files changed after `npm run package`'
25
+ cat diff.txt
26
+ exit 1
27
+ }
28
test: # make sure the action works on a clean machine without building
29
runs-on: windows-latest
30
steps:
0 commit comments