Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: move to macos GH actions #556

Merged
merged 5 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading