-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update mv3 docs automatically in each branch
Merge in ADGUARD-FILTERS/tsurlfilter from feature/update-mv3-docs-automatically-2 to master Squashed commit of the following: commit 1e45e19 Merge: a83b72d d3c4df8 Author: Dmitriy Seregin <[email protected]> Date: Tue Oct 8 18:10:20 2024 +0300 Merge branch 'master' into feature/update-mv3-docs-automatically-2 commit a83b72d Author: Dmitriy Seregin <[email protected]> Date: Tue Oct 8 15:44:05 2024 +0300 ignore pnpm cache folder commit f7e7759 Author: Dmitriy Seregin <[email protected]> Date: Tue Oct 8 14:17:08 2024 +0300 fix commit f896438 Author: Dmitriy Seregin <[email protected]> Date: Tue Oct 8 14:16:30 2024 +0300 Update MV3 docs automatically in each branch
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# 'set' should be added to the beginning of each script to ensure that it runs with the correct options. | ||
# Please do not move it to some common file, like `setup-tests.sh`, because sourcing A script from B script | ||
# cannot change the options of B script. | ||
# -e: Exit immediately if any command exits with a non-zero status (i.e., if a command fails). | ||
# -x: Print each command to the terminal as it is executed, which is useful for debugging. | ||
set -ex | ||
|
||
# Redirect stderr (2) to stdout (1) to capture all output in a single log | ||
exec 2>&1 | ||
|
||
echo "@adguard/tsurlfilter docs mv3 update starting" | ||
|
||
# import helper functions and some common variables | ||
. ./bamboo-specs/scripts/helpers.sh | ||
|
||
# Install dependencies | ||
pnpm install | ||
|
||
# Build with dependencies, lerna is used for builds caching, because | ||
# we specified dependencies with workspace links. | ||
npx lerna run build,docs:mv3 --scope @adguard/tsurlfilter --include-dependencies | ||
|
||
echo "@adguard/tsurlfilter docs mv3 updated" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters