Skip to content
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
8 changes: 2 additions & 6 deletions .github/workflows/e2e-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@ jobs:
- uses: actions/setup-node@v5
with:
node-version: 24
- uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: npm
cache-dependency-path: '**/package-lock.json'

- run: npm ci
- run: npm run build
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/e2e-pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,8 @@ jobs:
- uses: actions/setup-node@v5
with:
node-version: 24
- uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: npm
cache-dependency-path: '**/package-lock.json'

- run: npm ci
- run: npm run build
Expand Down
33 changes: 19 additions & 14 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: Lint
on:
push:
branches:
- '**'
pull_request:
types: [opened]
branches: [main]
types: [opened, synchronize, reopened]
push:
branches: [main]

concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
prettier:
runs-on: ubuntu-latest
Expand All @@ -13,12 +18,8 @@ jobs:
- uses: actions/setup-node@v5
with:
node-version: 24
- uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: npm
cache-dependency-path: '**/package-lock.json'
- run: npm ci
- run: npm run lint
- run: npm run build
Expand All @@ -29,12 +30,16 @@ jobs:
- uses: actions/setup-node@v5
with:
node-version: 24
- uses: actions/cache@v5
cache: npm
cache-dependency-path: '**/package-lock.json'
- name: Cache Angular
uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
path: demo/.angular/cache
key: ${{ runner.os }}-angular-${{ hashFiles('demo/package-lock.json') }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-angular-${{ hashFiles('demo/package-lock.json') }}-
${{ runner.os }}-angular-
# The demo depends on this package via `file:..`, so the root package
# must be installed and built (dist/) before the demo can compile.
- run: npm ci
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,8 @@ jobs:
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'
- uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: npm
cache-dependency-path: '**/package-lock.json'

- name: Update npm
run: npm install -g npm@latest
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/update-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,8 @@ jobs:
- uses: actions/setup-node@v5
with:
node-version: 24

- uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: npm
cache-dependency-path: '**/package-lock.json'

- run: npm ci
- run: npm run build
Expand Down
Loading