Fix memory leak issue when using fetch in oidc authentication #9864
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: Validate Monorepo | |
on: pull_request | |
jobs: | |
dependencies: | |
name: Install dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 | |
id: node-modules-cache | |
with: | |
path: '**/node_modules' | |
key: node-modules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
node-modules- | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 20 | |
- run: yarn install | |
compliance: | |
name: License Compliance | |
needs: [dependencies] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 | |
id: node-modules-cache | |
with: | |
path: '**/node_modules' | |
key: node-modules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
node-modules- | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 20 | |
- run: yarn run compliance:licenses | |
lint: | |
name: Lint | |
needs: [dependencies, compliance] | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 | |
id: node-modules-cache | |
with: | |
path: '**/node_modules' | |
key: node-modules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
node-modules- | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 20 | |
- run: yarn lint | |
test: | |
name: Test | |
needs: [lint] | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 | |
id: node-modules-cache | |
with: | |
path: '**/node_modules' | |
key: node-modules-${{ hashFiles('**/yarn.lock') }} | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 20 | |
- run: yarn test |