Skip to content

refactor: move material.aio GHA to the root #30288

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

Merged
merged 4 commits into from
Jan 14, 2025
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
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: CI
name: 'CI (material.angular.io)'

on:
push:
branches:
- main
- '[0-9]+.[0-9]+.x'
paths:
- 'material.angular.io/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -15,6 +17,7 @@ permissions: {}
defaults:
run:
shell: bash
working-directory: material.angular.io

env:
# TODO: Remove when pnpm is exclusively used.
Expand Down Expand Up @@ -54,13 +57,14 @@ jobs:
run: yarn bazel test --test_tag_filters=-lint,-e2e,-audit //...
- name: Store Test Logs
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
if: always()
with:
name: test-logs
path: bazel-testlogs/
path: material.angular.io/bazel-testlogs/
retention-days: 14

lighthouse:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04 # Note, fails on Ubuntu 24.04. see https://github.com/actions/runner-images/issues/10636
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@359350bbc10aab1bac85d0eec61a53377078ab82
Expand All @@ -70,7 +74,8 @@ jobs:
run: yarn bazel test --test_tag_filters=audit //...
- name: Store Audit Logs
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
if: always()
with:
name: lighthouse-logs
path: bazel-testlogs/
path: material.angular.io/bazel-testlogs/
retention-days: 14
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Pull Request
name: 'CI (material.angular.io)'

on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'material.angular.io/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -13,6 +15,7 @@ permissions: {}
defaults:
run:
shell: bash
working-directory: material.angular.io

env:
# TODO: Remove when pnpm is exclusively used.
Expand Down Expand Up @@ -52,13 +55,14 @@ jobs:
run: yarn bazel test --test_tag_filters=-lint,-e2e,-audit //...
- name: Store Test Logs
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
if: always()
with:
name: test-logs
path: bazel-testlogs/
path: material.angular.io/bazel-testlogs/
retention-days: 14

lighthouse:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04 # Note, fails on Ubuntu 24.04. see https://github.com/actions/runner-images/issues/10636
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@359350bbc10aab1bac85d0eec61a53377078ab82
Expand All @@ -68,7 +72,8 @@ jobs:
run: yarn bazel test --test_tag_filters=audit //...
- name: Store Audit Logs
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
if: always()
with:
name: lighthouse-logs
path: bazel-testlogs/
path: material.angular.io/bazel-testlogs/
retention-days: 14
17 changes: 0 additions & 17 deletions material.angular.io/.github/ISSUE_TEMPLATE/docs-infra.md

This file was deleted.

Loading