Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Commit 2572bdd

Browse files
authored
Fix check-dist workflow (#172)
- Updated package.json to be more consistent with `gradle/actions` repo - Updated 'check-dist' workflow to be more consistent with `gradle/actions` repo - Check-dist now actually checks! Fixes #171
1 parent 1ff5a18 commit 2572bdd

File tree

3 files changed

+535
-539
lines changed

3 files changed

+535
-539
lines changed

.github/workflows/check-dist.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,15 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525

26-
- name: Set Node.js 20.x
27-
uses: actions/setup-node@v4
26+
- uses: actions/setup-node@v4
2827
with:
29-
node-version: 20.x
30-
cache: npm
31-
32-
- name: Validate package-lock
33-
run: npx lockfile-lint --path package-lock.json --allowed-hosts npm yarn --validate-https
34-
35-
- name: Install dependencies
36-
run: npm ci
37-
38-
- name: Rebuild the dist/ directory
39-
run: npm run build
28+
node-version: 20
29+
- name: Build
30+
run: |
31+
npm -v
32+
node -v
33+
npm install
34+
npm run build
4035
4136
- name: Compare the expected and actual dist/ directories
4237
run: |

0 commit comments

Comments
 (0)