diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a13438a5..6069e3b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,14 +54,15 @@ jobs: - name: Setup Node uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 with: - node-version: '22' + node-version: '24' - name: Build and Test shell: pwsh run: ./build.ps1 - name: Install Spectral - run: npm install -g "@stoplight/spectral-cli@${SPECTRAL_CLI_VERSION}" + shell: pwsh + run: npm install -g "@stoplight/spectral-cli@${env:SPECTRAL_CLI_VERSION}" - name: Run Spectral run: spectral lint "./artifacts/openapi/*" --fail-severity warn --format github-actions