chore: CR suggestions #179
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check OpenAPI specs | |
on: | |
push: | |
#env: | |
# APIFY_STAGING_TOKEN: ${{ secrets.APIFY_STAGING_TOKEN }} | |
jobs: | |
build: | |
name: Build the specification file | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 22 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'npm' | |
cache-dependency-path: 'package-lock.json' | |
registry-url: 'https://npm.pkg.github.com/' | |
scope: '@apify-packages' | |
- name: Enable corepack | |
run: | | |
corepack enable | |
- name: Install Dependencies | |
run: npm ci --force | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- run: | | |
npm ci | |
npm run redoc:test | |
# TODO | |
# - uses: actions/setup-python@v5 | |
# with: | |
# python-version: '3.10' | |
# - run: python -m pip install schemathesis==3.35.0 |