feat: add initial info.json for SPL-Router project configuration #699
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: "CI Check for PullRequest" | |
on: | |
pull_request: | |
pull_request_target: | |
jobs: | |
pr-labeler: | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Git" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/labeler@v5 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
sync-labels: true | |
build: | |
uses: ./.github/workflows/ci.reusable.build.yml | |
strategy: | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
node-version: ["20"] | |
with: | |
node-version: ${{ matrix.node-version }} | |
os: ${{ matrix.os }} | |
test-coverage: | |
needs: build | |
uses: ./.github/workflows/ci.reusable.test-coverage.yml | |
strategy: | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
node-version: ["20"] | |
with: | |
node-version: ${{ matrix.node-version }} | |
os: ${{ matrix.os }} | |
lint: | |
needs: build | |
uses: ./.github/workflows/ci.reusable.lint.yml | |
strategy: | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
node-version: ["20"] | |
with: | |
node-version: ${{ matrix.node-version }} | |
os: ${{ matrix.os }} | |
misc: | |
needs: build | |
uses: ./.github/workflows/ci.reusable.misc.yml | |
strategy: | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
node-version: ["20"] | |
with: | |
node-version: ${{ matrix.node-version }} | |
os: ${{ matrix.os }} | |
test-e2e: | |
needs: build | |
uses: ./.github/workflows/ci.reusable.test-e2e.yml | |
strategy: | |
matrix: | |
# @TODO-ZM: add back windows once we replace cypress with playwright | |
os: ["ubuntu-latest", "macos-latest"] | |
node-version: ["20"] | |
# @TODO-ZM: add other browsers once we replace cypress with playwright | |
browser: ["chrome"] | |
with: | |
node-version: ${{ matrix.node-version }} | |
os: ${{ matrix.os }} | |
browser: ${{ matrix.browser }} |