Skip to content

Commit

Permalink
Switch release branches to use new workflows (#7259)
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 authored Aug 28, 2023
1 parent fd31ce9 commit 3f292e0
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 229 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/release-test.yml

This file was deleted.

195 changes: 0 additions & 195 deletions .github/workflows/reusable-test.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/shared-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected]

- name: ⬇️ Checkout repo
uses: actions/checkout@v3

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/shared-test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ jobs:

runs-on: ${{ inputs.os }}
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected]

- name: ⬇️ Checkout repo
uses: actions/checkout@v3

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/shared-test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ jobs:
node: ${{ fromJSON(inputs.node_version) }}
runs-on: ${{ inputs.os }}
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected]

- name: ⬇️ Checkout repo
uses: actions/checkout@v3

Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/test-full.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: Branch

# main/dev branches will get the full run across all OS/browsers
# main/dev/release-* branches and nightly tags will get the full run across
# all OS/browsers for multiple node versions

on:
push:
branches:
- main
- dev
- release-*
tags:
- "v0.0.0-nightly-*"
paths-ignore:
- "docs/**"
- "scripts/**"
Expand All @@ -25,23 +29,23 @@ jobs:
uses: ./.github/workflows/shared-test-unit.yml
with:
os: "ubuntu-latest"
node_version: '["latest"]'
node_version: "[18, 20]"

unit-windows:
name: "🧪 Unit Test"
if: github.repository == 'remix-run/remix'
uses: ./.github/workflows/shared-test-unit.yml
with:
os: "windows-latest"
node_version: '["latest"]'
node_version: "[18, 20]"

integration-ubuntu:
name: "👀 Integration Test"
if: github.repository == 'remix-run/remix'
uses: ./.github/workflows/shared-test-integration.yml
with:
os: "ubuntu-latest"
node_version: '["latest"]'
node_version: "[18, 20]"
browser: '["chromium", "firefox"]'

integration-windows:
Expand All @@ -50,7 +54,7 @@ jobs:
uses: ./.github/workflows/shared-test-integration.yml
with:
os: "windows-latest"
node_version: '["latest"]'
node_version: "[18, 20]"
browser: '["msedge"]'

integration-macos:
Expand All @@ -59,5 +63,5 @@ jobs:
uses: ./.github/workflows/shared-test-integration.yml
with:
os: "macos-latest"
node_version: '["latest"]'
node_version: "[18, 20]"
browser: '["webkit"]'
4 changes: 4 additions & 0 deletions .github/workflows/test-pr-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- "contributors.yml"
- "**/*.md"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: "⚙️ Build"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-pr-windows-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- "packages/remix-dev/**"
- "!**/*.md"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
unit-windows:
name: "🧪 Unit Test"
Expand Down

0 comments on commit 3f292e0

Please sign in to comment.