From 8bf23574c02656ac1b26f4673286f2da530155c4 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Wed, 3 Apr 2024 11:36:53 +0200 Subject: [PATCH] fix openapi action Signed-off-by: Julien Veyssier --- .github/workflows/openapi.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/openapi.yml b/.github/workflows/openapi.yml index 0db9f78c..ca6ed2bb 100644 --- a/.github/workflows/openapi.yml +++ b/.github/workflows/openapi.yml @@ -42,25 +42,25 @@ jobs: - name: Read package.json node and npm engines version if: steps.check_typescript_openapi.outputs.files_exists == 'true' uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2 - id: versions + id: node_versions # Continue if no package.json continue-on-error: true with: fallbackNode: '^20' fallbackNpm: '^10' - - name: Set up node ${{ steps.versions.outputs.nodeVersion }} - if: ${{ steps.versions.outputs.nodeVersion }} + - name: Set up node ${{ steps.node_versions.outputs.nodeVersion }} + if: ${{ steps.node_versions.outputs.nodeVersion }} uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: ${{ steps.versions.outputs.nodeVersion }} + node-version: ${{ steps.node_versions.outputs.nodeVersion }} - - name: Set up npm ${{ steps.versions.outputs.npmVersion }} - if: ${{ steps.versions.outputs.nodeVersion }} - run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}" + - name: Set up npm ${{ steps.node_versions.outputs.npmVersion }} + if: ${{ steps.node_versions.outputs.nodeVersion }} + run: npm i -g npm@"${{ steps.node_versions.outputs.npmVersion }}" - name: Install dependencies & build - if: ${{ steps.versions.outputs.nodeVersion }} + if: ${{ steps.node_versions.outputs.nodeVersion }} env: CYPRESS_INSTALL_BINARY: 0 PUPPETEER_SKIP_DOWNLOAD: true