Skip to content

Commit

Permalink
Merge branch 'master' into fix/20213-v-stepper-vertical-slot-types
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Jan 24, 2025
2 parents 9c97730 + 744e1e1 commit 7ab2dfe
Show file tree
Hide file tree
Showing 308 changed files with 4,362 additions and 2,915 deletions.
31 changes: 0 additions & 31 deletions .github/actions/download-artifact/action.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/actions/nightly-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ runs:
repository: ${{ inputs.checkout-repo }}
ref: ${{ inputs.checkout-ref }}
fetch-depth: 0
- uses: ./.github/actions/pnpm-install
- uses: vuetifyjs/setup-action@master
- run: >-
node -e "
const json = require('./lerna.json');
Expand All @@ -47,7 +47,7 @@ runs:
shell: bash
- run: pnpm lerna version ${{ steps.get-version.outputs.full-version }} --no-push --no-commit-hooks --force-publish --yes
shell: bash
- run: pnpm conventional-changelog -p angular --outfile ./packages/vuetify/CHANGELOG.md -r 2
- run: pnpm conventional-changelog -p vuetify --outfile ./packages/vuetify/CHANGELOG.md -r 2
shell: bash
- run: >-
node -e "fs.writeFileSync(
Expand Down
15 changes: 0 additions & 15 deletions .github/actions/pnpm-install/action.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/actions/upload-artifact/action.yml

This file was deleted.

79 changes: 47 additions & 32 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
pre_job:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
Expand All @@ -28,72 +28,82 @@ jobs:
name: Build vuetify
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: earthly/setup-ucacher@b99687d79dd75262bfc326b9e5ad3a520385a18b
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-install
- run: pnpm build vuetify
- uses: ./.github/actions/upload-artifact
- uses: vuetifyjs/setup-action@master
- run: pnpm build:lib
working-directory: ./packages/vuetify
- run: ucacher pnpm build:dist
working-directory: ./packages/vuetify
- run: ucacher pnpm build:types
working-directory: ./packages/vuetify
- uses: actions/upload-artifact@v4
with:
name: vuetify-dist
path: >
path: |
packages/vuetify/dist
packages/vuetify/lib
lint:
name: Lint
needs: [pre_job, build-vuetify]
if: needs.pre_job.outputs.should_skip != 'true'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
scopes: ['--scope vuetify --scope @vuetify/api-generator', '--scope vuetifyjs.com']
steps:
- uses: earthly/setup-ucacher@b99687d79dd75262bfc326b9e5ad3a520385a18b
- uses: actions/checkout@v4
- uses: ./.github/actions/download-artifact
- uses: actions/download-artifact@v4
with:
name: vuetify-dist
- uses: ./.github/actions/pnpm-install
- run: pnpm lerna run lint $SCOPES
path: packages/vuetify
- uses: vuetifyjs/setup-action@master
- run: ucacher pnpm lerna run lint $SCOPES
env:
SCOPES: ${{ matrix.scopes }}

test-unit:
name: Test (Unit)
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-install
- uses: vuetifyjs/setup-action@master
- run: pnpm run test --project unit
working-directory: ./packages/vuetify

test-e2e:
name: Test (e2e)
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-install
- uses: vuetifyjs/setup-action@master
- run: pnpm run test --project browser
working-directory: ./packages/vuetify

deploy:
needs: [lint, test-unit, test-e2e, build-vuetify]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/v') && github.repository_owner == 'vuetifyjs'
steps:
- uses: earthly/setup-ucacher@b99687d79dd75262bfc326b9e5ad3a520385a18b
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/download-artifact
- uses: actions/download-artifact@v4
with:
name: vuetify-dist
- uses: ./.github/actions/pnpm-install
- run: pnpm build api
path: packages/vuetify
- uses: vuetifyjs/setup-action@master
- run: ucacher pnpm build api
- run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: NPM Release
run: bash scripts/deploy.sh
Expand All @@ -111,16 +121,18 @@ jobs:
name: Build docs
needs: [pre_job, build-vuetify]
if: needs.pre_job.outputs.should_skip != 'true' && github.event_name == 'push' && github.repository_owner == 'vuetifyjs' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/next')
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: earthly/setup-ucacher@b99687d79dd75262bfc326b9e5ad3a520385a18b
- uses: actions/checkout@v4
- uses: ./.github/actions/download-artifact
- uses: actions/download-artifact@v4
with:
name: vuetify-dist
- uses: ./.github/actions/pnpm-install
path: packages/vuetify
- uses: vuetifyjs/setup-action@master
- uses: ./.github/actions/download-locales
- run: pnpm build api
- run: pnpm build docs
- run: ucacher pnpm build api
- run: ucacher pnpm build docs
env:
NODE_OPTIONS: --max-old-space-size=4096
VITE_COSMIC_2_BUCKET_SLUG: ${{ secrets.COSMIC_2_BUCKET_SLUG }}
Expand All @@ -134,22 +146,25 @@ jobs:
VITE_EMAILJS_TEMPLATE_ID: ${{ secrets.EMAILJS_TEMPLATE_ID }}
VITE_API_SERVER_URL: ${{ secrets.API_SERVER_URL }}
VITE_GITHUB_SHA: ${{ github.sha }}
- uses: ./.github/actions/upload-artifact
- uses: actions/upload-artifact@v4
with:
name: docs-dist
path: packages/docs/dist

publish-docs:
needs: [lint, test-unit, build-docs]
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.repository_owner == 'vuetifyjs' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/next')
runs-on: ubuntu-24.04
environment: Production
if: github.event_name == 'push' && github.repository_owner == 'vuetifyjs' && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/download-artifact
- uses: actions/download-artifact@v4
with:
name: docs-dist
- uses: ./.github/actions/pnpm-install
- run: pnpm add vercel --global
- run: node scripts/deploy-and-alias.js ${{ github.ref }}
env:
NOW_TOKEN: ${{ secrets.NOW_TOKEN }}
path: packages/docs/dist
- uses: vuetifyjs/coolify-action@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
imageName: docs
coolifyWebhook: ${{ secrets.COOLIFY_WEBHOOK }}
coolifySecret: ${{ secrets.COOLIFY_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/close-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
close:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.repository_owner == 'vuetifyjs'
steps:
- uses: vuetifyjs/close-action@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/crowdin-uploads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:

jobs:
upload-to-crowdin:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ github.repository_owner == 'vuetifyjs' }}
steps:
- uses: actions/checkout@v4
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/nightly-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ github.repository_owner == 'vuetifyjs' }}
strategy:
max-parallel: 1
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:

percy:
name: Visual regression tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ github.repository_owner == 'vuetifyjs' }}
steps:
- uses: actions/checkout@v4
Expand All @@ -64,18 +64,12 @@ jobs:
echo "Last commit was more than 24 hours ago, skipping tests"
exit 1
fi
- uses: ./.github/actions/pnpm-install
- uses: vuetifyjs/setup-action@master
- run: echo "COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
- run: pnpm cy:run
- run: pnpm test:percy
working-directory: ./packages/vuetify
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
PERCY_BRANCH: master
PERCY_TARGET_BRANCH: master
PERCY_COMMIT: ${{ env.COMMIT }}
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ./packages/vuetify/cypress/screenshots/
if-no-files-found: ignore
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
stale:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/stale@v9
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ on:

jobs:
triage:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: vuetifyjs/triage-action@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
triageLabel: 'S: triage'
staleLabel: 'S: stale'
sponsorsFile: '.github/sponsors.yml'
duplicateLabel: 'duplicate'
triagedLabels: |-
Expand Down
4 changes: 4 additions & 0 deletions .ucacherignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.git/**/*
node_modules/**/*
/tmp/**/*
.github/workflows/**/*
Loading

0 comments on commit 7ab2dfe

Please sign in to comment.