Update workflow based on 'gradle/actions'

This commit is contained in:
daz 2024-01-31 14:05:37 -07:00
parent 6253261cf7
commit bc1858b102
No known key found for this signature in database

View File

@ -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: |