Merge pull request #9 from empayre/ft/swag

fix build spec
This commit is contained in:
Gregory 2022-02-17 15:59:57 +03:00 committed by GitHub
commit edef3a4190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,18 @@ jobs:
java-version: ${{ inputs.jdk-version }}
distribution: ${{ inputs.jdk-distribution }}
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ inputs.node-version }}
cache: npm
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Bundle specification
run: npm run ${{ inputs.run-script-name }}
- name: Cache build
id: cache-build
uses: actions/cache@v2
@ -114,6 +126,18 @@ jobs:
java-version: ${{ inputs.jdk-version }}
distribution: ${{ inputs.jdk-distribution }}
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ inputs.node-version }}
cache: npm
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Bundle specification
run: npm run ${{ inputs.run-script-name }}
- name: Cache build
id: cache-build
uses: actions/cache@v2