chore: revert testing changes #1229
This file contains hidden or 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 | |
| - name: Enable corepack | |
| run: | | |
| corepack enable | |
| corepack prepare yarn@stable --activate | |
| - name: Activate cache for Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| cache: yarn | |
| cache-dependency-path: yarn.lock | |
| - name: Enable corepack | |
| run: | | |
| corepack enable | |
| - name: Install Dependencies | |
| run: yarn --immutable | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| - run: | | |
| yarn --immutable | |
| yarn redoc:test | |
| # TODO | |
| # - uses: actions/setup-python@v5 | |
| # with: | |
| # python-version: '3.10' | |
| # - run: python -m pip install schemathesis==3.35.0 |