Skip to content

Commit 006b7fd

Browse files
committed
chore(ci): remove vercel, simplify workflows
1 parent d31a300 commit 006b7fd

File tree

9 files changed

+25
-229
lines changed

9 files changed

+25
-229
lines changed

β€Ž.github/actions/download-artifact/action.ymlβ€Ž

Lines changed: 0 additions & 31 deletions
This file was deleted.

β€Ž.github/actions/nightly-release/action.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runs:
3535
repository: ${{ inputs.checkout-repo }}
3636
ref: ${{ inputs.checkout-ref }}
3737
fetch-depth: 0
38-
- uses: ./.github/actions/pnpm-install
38+
- uses: vuetifyjs/setup-action@master
3939
- run: >-
4040
node -e "
4141
const json = require('./lerna.json');

β€Ž.github/actions/pnpm-install/action.ymlβ€Ž

Lines changed: 0 additions & 15 deletions
This file was deleted.

β€Ž.github/actions/upload-artifact/action.ymlβ€Ž

Lines changed: 0 additions & 46 deletions
This file was deleted.

β€Ž.github/workflows/ci.ymlβ€Ž

Lines changed: 23 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- uses: actions/checkout@v4
34-
- uses: ./.github/actions/pnpm-install
34+
- uses: vuetifyjs/setup-action@master
3535
- run: pnpm build vuetify
36-
- uses: ./.github/actions/upload-artifact
36+
- uses: actions/upload-artifact@v4
3737
with:
3838
name: vuetify-dist
39-
path: >
39+
path: |
4040
packages/vuetify/dist
4141
packages/vuetify/lib
4242
@@ -51,10 +51,11 @@ jobs:
5151
scopes: ['--scope vuetify --scope @vuetify/api-generator', '--scope vuetifyjs.com']
5252
steps:
5353
- uses: actions/checkout@v4
54-
- uses: ./.github/actions/download-artifact
54+
- uses: actions/download-artifact@v4
5555
with:
5656
name: vuetify-dist
57-
- uses: ./.github/actions/pnpm-install
57+
path: packages/vuetify
58+
- uses: vuetifyjs/setup-action@master
5859
- run: pnpm lerna run lint $SCOPES
5960
env:
6061
SCOPES: ${{ matrix.scopes }}
@@ -66,7 +67,7 @@ jobs:
6667
runs-on: ubuntu-latest
6768
steps:
6869
- uses: actions/checkout@v4
69-
- uses: ./.github/actions/pnpm-install
70+
- uses: vuetifyjs/setup-action@master
7071
- run: pnpm run test --project unit
7172
working-directory: ./packages/vuetify
7273

@@ -77,7 +78,7 @@ jobs:
7778
runs-on: ubuntu-latest
7879
steps:
7980
- uses: actions/checkout@v4
80-
- uses: ./.github/actions/pnpm-install
81+
- uses: vuetifyjs/setup-action@master
8182
- run: pnpm run test --project browser
8283
working-directory: ./packages/vuetify
8384

@@ -89,10 +90,11 @@ jobs:
8990
- uses: actions/checkout@v4
9091
with:
9192
fetch-depth: 0
92-
- uses: ./.github/actions/download-artifact
93+
- uses: actions/download-artifact@v4
9394
with:
9495
name: vuetify-dist
95-
- uses: ./.github/actions/pnpm-install
96+
path: packages/vuetify
97+
- uses: vuetifyjs/setup-action@master
9698
- run: pnpm build api
9799
- run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
98100
- name: NPM Release
@@ -114,10 +116,11 @@ jobs:
114116
runs-on: ubuntu-latest
115117
steps:
116118
- uses: actions/checkout@v4
117-
- uses: ./.github/actions/download-artifact
119+
- uses: actions/download-artifact@v4
118120
with:
119121
name: vuetify-dist
120-
- uses: ./.github/actions/pnpm-install
122+
path: packages/vuetify
123+
- uses: vuetifyjs/setup-action@master
121124
- uses: ./.github/actions/download-locales
122125
- run: pnpm build api
123126
- run: pnpm build docs
@@ -134,53 +137,25 @@ jobs:
134137
VITE_EMAILJS_TEMPLATE_ID: ${{ secrets.EMAILJS_TEMPLATE_ID }}
135138
VITE_API_SERVER_URL: ${{ secrets.API_SERVER_URL }}
136139
VITE_GITHUB_SHA: ${{ github.sha }}
137-
- uses: ./.github/actions/upload-artifact
140+
- uses: actions/upload-artifact@v4
138141
with:
139142
name: docs-dist
140143
path: packages/docs/dist
141144

142-
publish-docs-vercel:
143-
needs: [lint, test-unit, build-docs]
144-
runs-on: ubuntu-latest
145-
if: github.event_name == 'push' && github.repository_owner == 'vuetifyjs' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/next')
146-
steps:
147-
- uses: actions/checkout@v4
148-
- uses: ./.github/actions/download-artifact
149-
with:
150-
name: docs-dist
151-
- uses: ./.github/actions/pnpm-install
152-
- run: pnpm add vercel --global
153-
- run: node scripts/deploy-and-alias.js ${{ github.ref }}
154-
env:
155-
NOW_TOKEN: ${{ secrets.NOW_TOKEN }}
156-
157-
publish-docs-coolify:
145+
publish-docs:
158146
needs: [lint, test-unit, build-docs]
159147
runs-on: ubuntu-latest
160148
environment: Production
161149
if: github.event_name == 'push' && github.repository_owner == 'vuetifyjs' && github.ref == 'refs/heads/master'
162150
steps:
163151
- uses: actions/checkout@v4
164-
- uses: ./.github/actions/download-artifact
152+
- uses: actions/download-artifact@v4
165153
with:
166154
name: docs-dist
167-
- uses: docker/login-action@v3
168-
with:
169-
registry: ghcr.io
170-
username: ${{ github.actor }}
171-
password: ${{ secrets.GITHUB_TOKEN }}
172-
- id: meta
173-
uses: docker/metadata-action@v5
174-
with:
175-
images: ghcr.io/vuetifyjs/docs
176-
- uses: docker/build-push-action@v6
155+
path: packages/docs/dist
156+
- uses: vuetifyjs/coolify-action@master
177157
with:
178-
context: .
179-
file: Dockerfile
180-
platforms: linux/amd64
181-
push: true
182-
tags: ${{ steps.meta.outputs.tags }}
183-
labels: ${{ steps.meta.outputs.labels }}
184-
- name: Deploy to Coolify
185-
run: |
186-
curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'
158+
token: ${{ secrets.GITHUB_TOKEN }}
159+
imageName: docs
160+
coolifyWebhook: ${{ secrets.COOLIFY_WEBHOOK }}
161+
coolifySecret: ${{ secrets.COOLIFY_TOKEN }}

β€Ž.github/workflows/nightly-schedule.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
echo "Last commit was more than 24 hours ago, skipping tests"
6565
exit 1
6666
fi
67-
- uses: ./.github/actions/pnpm-install
67+
- uses: vuetifyjs/setup-action@master
6868
- run: echo "COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
6969
- run: pnpm cy:run
7070
working-directory: ./packages/vuetify

β€Ž.vercelignoreβ€Ž

Lines changed: 0 additions & 6 deletions
This file was deleted.

β€Žscripts/deploy-and-alias.jsβ€Ž

Lines changed: 0 additions & 28 deletions
This file was deleted.

β€Žvercel.jsonβ€Ž

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
Β (0)