Add new AudienceGroupType TRACKINGTAG_WEBTRAFFIC to Audience Group AP… #374
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: Basic CI | |
| on: | |
| push: | |
| pull_request: | |
| merge_group: | |
| workflow_dispatch: | |
| jobs: | |
| setup: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Use Node.js | |
| uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 | |
| with: | |
| cache: 'npm' | |
| - run: npm install -g @stoplight/spectral-cli | |
| - run: npm install . | |
| - run: npx zx ./tools/validate-all.mjs | |
| - run: npx zx ./tools/validate-request-suffix.mjs | |
| - run: npx zx ./tools/validate-inheritance.mjs | |
| generate-test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Use Node.js | |
| uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 | |
| with: | |
| cache: 'npm' | |
| - run: npm install -g @openapitools/openapi-generator-cli | |
| - run: openapi-generator-cli version-manager set 7.0.1 | |
| - run: sed -i -e 's/openapi-generator/openapi-generator-cli/g' ./tools/generate-test.mjs | |
| - name: actions/setup-java@v3 (JDK 17) | |
| uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 17 | |
| architecture: x64 | |
| - run: npx zx ./tools/generate-test.mjs | |
| format-diff: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 | |
| with: | |
| cache: 'npm' | |
| - run: npx zx ./tools/reformat.mjs | |
| - name: Check there is no diff (Run ./tools/reformat.mjs if there is a diff) | |
| run: git diff --exit-code | |
| property-should-be-camelcase: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| # ensures origin/main is available for git show | |
| fetch-depth: 0 | |
| - name: Use Node.js | |
| uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 | |
| with: | |
| cache: 'npm' | |
| - run: npm install | |
| - run: node tools/validate-property-camelcase.mjs | |
| pinact: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Run pinact | |
| uses: suzuki-shunsuke/pinact-action@a6896d13d22e2bf108a78b0c52d3f867c1f41b34 # v0.2.1 | |
| with: | |
| skip_push: "true" |