Skip to content

Commit

Permalink
Update workflow based on 'gradle/actions'
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz committed Jan 31, 2024
1 parent 6253261 commit bc1858b
Showing 1 changed file with 8 additions and 13 deletions.
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

0 comments on commit bc1858b

Please sign in to comment.