Skip to content

Commit

Permalink
ci: move to macos GH actions (#556)
Browse files Browse the repository at this point in the history
* ci: move to macos GH actions

* ci: move to macos GH actions

* ci: move to macos GH actions

* ci: move to macos GH actions

* chore: revert codcov
  • Loading branch information
patzick authored and BrocksiNet committed Feb 20, 2024
1 parent 6aa4b8a commit d8cf093
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
init:
name: Check audit
timeout-minutes: 15
runs-on: ubuntu-latest
runs-on: macos-14

steps:
- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: macos-14
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
init:
name: Init dependencies
timeout-minutes: 15
runs-on: ubuntu-latest
runs-on: macos-14

steps:
- name: Check out code
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
runs-on: ubuntu-latest
runs-on: macos-14

steps:
- name: Check out code
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
test:
name: Test
timeout-minutes: 15
runs-on: ubuntu-latest
runs-on: macos-14
needs: init
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- cron: "59 23 * * *"
jobs:
run-code_examples-tests:
runs-on: ubuntu-latest
runs-on: macos-14
steps:
- name: Check out code
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codspeed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
node-version: 20
- run: corepack enable
- run: pnpm --version
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
run-e2e:
name: Playwright testing deployment ${{ github.event.deployment_status.target_url }}
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success' && !contains(github.event.deployment_status.target_url, 'frontends-docs')
runs-on: ubuntu-latest
runs-on: macos-14
steps:
- name: Check out code
uses: actions/checkout@v3
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/failed-job-check.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
name: Check for jobs failure
on:
workflow_run:
workflows: [Code examples, Lighthouse CI, Vue vite blank, Vue Blank, Vue demo store, Audit check]
workflows:
[
Code examples,
Lighthouse CI,
Vue vite blank,
Vue Blank,
Vue demo store,
Audit check,
]
types: [completed]
branches: [main,prod]
branches: [main, prod]

jobs:
on-failure:
runs-on: ubuntu-latest
runs-on: macos-14
if: github.event.workflow_run.conclusion == 'failure' || github.event.workflow_run.conclusion == 'timed_out'
steps:
- uses: ravsamhq/notify-slack-action@v2
Expand All @@ -17,4 +25,4 @@ jobs:
message_format: ":fire: *${{github.event.workflow_run.name}}* ${{github.event.workflow_run.conclusion}} in <${{github.server_url}}/${{github.repository}}/${{github.event.workflow_run.head_branch}}|${{github.repository}}>"
footer: "Linked Repo <${{github.server_url}}/${{github.repository}}|${{github.repository}}> | <${{github.server_url}}/${{github.repository}}/actions/runs/${{github.event.workflow_run.id}}|View Failure>"
env:
SLACK_WEBHOOK_URL: ${{ secrets.FAIL_SLACK_URL }}
SLACK_WEBHOOK_URL: ${{ secrets.FAIL_SLACK_URL }}
2 changes: 1 addition & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- cron: "55 23 * * *"
jobs:
lighthouseci:
runs-on: ubuntu-latest
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
publish:
name: Publish canary version
if: "!contains(github.event.commits[0].message, 'chore: next version release')"
runs-on: ubuntu-latest
runs-on: macos-14
permissions:
id-token: write
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Create release PR or publish merged changesets
runs-on: ubuntu-latest
runs-on: macos-14
permissions:
id-token: write
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vue-blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- cron: "51 23 * * *"
jobs:
run-code_examples-tests:
runs-on: ubuntu-latest
runs-on: macos-14
steps:
- name: Check out code
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vue-demo-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- cron: "49 23 * * *"
jobs:
run-code_examples-tests:
runs-on: ubuntu-latest
runs-on: macos-14
steps:
- name: Check out code
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vue-vite-blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- cron: "46 23 * * *"
jobs:
run-code_examples-tests:
runs-on: ubuntu-latest
runs-on: macos-14
steps:
- name: Check out code
uses: actions/checkout@v3
Expand Down

0 comments on commit d8cf093

Please sign in to comment.