Merge pull request #663 from dzcode-io/add-jslog-project #162
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 main Branch" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| 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 }} |