From 52bcdc91d9144b04018c2ea113e06898f48ee987 Mon Sep 17 00:00:00 2001 From: ggmaleva Date: Thu, 17 Feb 2022 15:56:41 +0300 Subject: [PATCH] fix build spec --- .github/workflows/maven-swag-deploy.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/maven-swag-deploy.yml b/.github/workflows/maven-swag-deploy.yml index 9f52c8b..7abd587 100644 --- a/.github/workflows/maven-swag-deploy.yml +++ b/.github/workflows/maven-swag-deploy.yml @@ -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