Skip to content

Commit 444ca28

Browse files
authored
Fail if npm install reports dirty files (#12)
1 parent f070749 commit 444ca28

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+4519
-42
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/workflows/local.yml

+10
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v3
1919

20+
- name: Fail if npm install reports dirty
21+
run: |
22+
npm install --no-bin-links
23+
if [[ -n $(git status --porcelain) ]]; then
24+
echo "Repo is dirty";
25+
git status --porcelain;
26+
exit 1;
27+
fi
28+
shell: bash
29+
2030
- name: Test XVFB
2131
uses: ./
2232
with:

node_modules/.package-lock.json

+32-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/core/README.md

+194-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/core/lib/command.d.ts

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/core/lib/command.js

+15-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/core/lib/command.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)