mirror of
https://github.com/actions/checkout.git
synced 2024-11-10 04:18:26 +08:00
Update check-dist.yml
This commit is contained in:
parent
692973e3d9
commit
d8d0154fa1
10
.github/workflows/check-dist.yml
vendored
10
.github/workflows/check-dist.yml
vendored
|
@ -24,16 +24,16 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.6
|
- uses: actions/checkout@v4.1.6
|
||||||
|
|
||||||
- name: Set Node.js 20.x
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
node-version: 20.x
|
java-version: '17'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Rebuild the index.js file
|
- name: Build with Maven
|
||||||
run: npm run build
|
run: mvn clean install
|
||||||
|
|
||||||
- name: Compare the expected and actual dist/ directories
|
- name: Compare the expected and actual dist/ directories
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user