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

Fix check-dist workflow #172

Merged
merged 4 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 8 additions & 13 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set Node.js 20.x
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm

- name: Validate package-lock
run: npx lockfile-lint --path package-lock.json --allowed-hosts npm yarn --validate-https

- name: Install dependencies
run: npm ci

- name: Rebuild the dist/ directory
run: npm run build
node-version: 20
- name: Build
run: |
npm -v
node -v
npm install
npm run build

- name: Compare the expected and actual dist/ directories
run: |
Expand Down
Loading