diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 726ed6d2df..a5545f0cd7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,6 +11,8 @@ updates: - "dependencies" - "pr:e2e" - "pr:daveit" + - "pr:visual" + - "pr:platform" - package-ecosystem: "github-actions" directory: "/" diff --git a/.github/workflows/e2e-pr.yml b/.github/workflows/e2e-pr.yml index 3230b3f590..9a4da35049 100644 --- a/.github/workflows/e2e-pr.yml +++ b/.github/workflows/e2e-pr.yml @@ -9,7 +9,12 @@ on: jobs: e2e-full: if: ${{ github.event.label.name == 'pr:e2e' }} - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + - ubuntu-latest + - windows-latest steps: - name: Trigger Success uses: actions/github-script@v6 diff --git a/.github/workflows/pr-platform.yml b/.github/workflows/pr-platform.yml new file mode 100644 index 0000000000..6112cf9ca9 --- /dev/null +++ b/.github/workflows/pr-platform.yml @@ -0,0 +1,34 @@ +name: "pr-platform" +on: + workflow_dispatch: + pull_request: + types: [ labeled ] + +jobs: + e2e-full: + if: ${{ github.event.label.name == 'pr:platform' }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + node_version: + - 12 + - 14 + - 16 + architecture: + - x64 + name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - name: Setup node + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node_version }} + architecture: ${{ matrix.architecture }} + - run: npm install + - run: npm test + - run: npm run lint