mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
ci: build website correctly
This commit is contained in:
4
.github/workflows/nextjs-bundle-analysis.yml
vendored
4
.github/workflows/nextjs-bundle-analysis.yml
vendored
@@ -40,8 +40,8 @@ jobs:
|
|||||||
# change this if you prefer a more strict cache
|
# change this if you prefer a more strict cache
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}
|
key: ${{ runner.os }}-build-${{ env.cache-name }}
|
||||||
|
|
||||||
- name: Build dependencies
|
- name: Build website
|
||||||
run: yarn build
|
run: yarn workspace @discordjs/website run build:prod
|
||||||
|
|
||||||
- name: Analyze bundle
|
- name: Analyze bundle
|
||||||
run: npx -p nextjs-bundle-analysis report
|
run: npx -p nextjs-bundle-analysis report
|
||||||
|
|||||||
Reference in New Issue
Block a user