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
150 changes: 0 additions & 150 deletions .github/workflows/update-docs-base.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/update-docs-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,11 @@ on:
- hotfix
- release
default: 'manual'
package_manager:
description: 'Package manager (bun for 59+, yarn for 58 and below)'
required: true
type: choice
options:
- bun
- yarn
default: 'bun'

run-name: Manual docs update | ${{ inputs.source_branch }} -> ${{ inputs.target_branch }}

jobs:
update-docs-bun:
if: inputs.package_manager == 'bun'
uses: ./.github/workflows/update-docs-base-bun.yml
with:
source_branch: ${{ inputs.source_branch }}
Expand All @@ -44,14 +35,3 @@ jobs:
run_name: "Manual docs build"
secrets:
METABASE_AUTOMATION_USER_TOKEN: ${{ secrets.METABASE_AUTOMATION_USER_TOKEN }}

update-docs-yarn:
if: inputs.package_manager == 'yarn'
uses: ./.github/workflows/update-docs-base.yml
with:
source_branch: ${{ inputs.source_branch }}
target_branch: ${{ inputs.target_branch }}
annotation: ${{ inputs.annotation }}
run_name: "Manual docs build"
secrets:
METABASE_AUTOMATION_USER_TOKEN: ${{ secrets.METABASE_AUTOMATION_USER_TOKEN }}
2 changes: 0 additions & 2 deletions .yarnrc.yml

This file was deleted.

2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ exclude:
- .sass-cache
- package.json
- package-lock.json
- yarn.lock
- bun.lock
- s3_website.template.yml
- src
- script
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"author": "GitHub",
"license": "MIT",
"packageManager": "bun@1.3.14",
"bugs": {
"url": "https://github.com/metabase/metabase/issues"
},
Expand Down
18 changes: 9 additions & 9 deletions script/_test/simulator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ echo " - Ruby (>= 2.7.0)"
echo " - Jekyll (>= 3.8.5)"
echo " - Bundler (>= 2.0.1)"
echo " - Node.js (>= 12.0.0)"
echo " - Yarn (>= 1.22.0)"
echo " - Bun (>= 1.3.14)"
echo " - Babashka"
echo ""
echo "Directory Structure:"
Expand All @@ -64,17 +64,17 @@ bb script/cleanup_cloud_docs.clj
printf '\n\n\n================= copy marketing files =================z\n'
bb script/sync_repo.clj --from-repo "$MARKETING_REPO"

printf '\n\n\n================= yarn lint-markdown =================z\n'
yarn lint-markdown
printf '\n\n\n================= bun lint-markdown =================z\n'
bun lint-markdown

printf '\n\n\n================= yarn lint-styles =================z\n'
yarn lint-styles
printf '\n\n\n================= bun lint-styles =================z\n'
bun lint-styles

printf '\n\n\n================= yarn lint-scripts =================z\n'
yarn lint-scripts
printf '\n\n\n================= bun lint-scripts =================z\n'
bun lint-scripts

printf '\n\n\n================= yarn lint-links =================z\n'
yarn lint-links
printf '\n\n\n================= bun lint-links =================z\n'
bun lint-links

printf '\n\n\n================= Clear the existing site: =================z\n'
rm -rf _site
Expand Down
8 changes: 4 additions & 4 deletions script/local_dev.clj
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@

(if run-checks
(do
(p/sh "yarn lint-markdown")
(p/sh "yarn lint-styles")
(p/sh "yarn lint-scripts")
(p/sh "yarn lint-links"))
(p/sh "bun lint-markdown")
(p/sh "bun lint-styles")
(p/sh "bun lint-scripts")
(p/sh "bun lint-links"))
(report [:blue "Skipping checks for source branch:" [:green source-branch]]))
(fs/delete-tree "_site")

Expand Down
Loading