Skip to content

chore: Debug nock issues #15677

chore: Debug nock issues

chore: Debug nock issues #15677

Workflow file for this run

name: build
on:
pull_request: ~
push:
branches: ['main']
tags: ['v*']
paths-ignore:
- 'docs/**'
schedule:
- cron: '0 1 * * *'
workflow_dispatch:
inputs:
canary-release:
description: 'Release canary version (skips tests and checks)'
type: boolean
required: false
default: false
jobs:
tests:
if: inputs.canary-release == false
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- run: git fetch --depth=1
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install --frozen-lockfile --ignore-engines
- run: yarn test:unit
env:
SANDBOX_TOKEN: ${{ secrets.API_HUB_SANDBOX_TOKEN }}
- if: ${{ success() }}
run: yarn test:unit
env:
SANDBOX_TOKEN: ${{ secrets.API_HUB_SANDBOX_TOKEN }}
- if: ${{ success() }}
run: yarn test:unit
env:
SANDBOX_TOKEN: ${{ secrets.API_HUB_SANDBOX_TOKEN }}
- if: ${{ success() }}
run: yarn test:unit
env:
SANDBOX_TOKEN: ${{ secrets.API_HUB_SANDBOX_TOKEN }}
- if: ${{ success() }}
run: yarn test:unit
env:
SANDBOX_TOKEN: ${{ secrets.API_HUB_SANDBOX_TOKEN }}