Skip to content

Commit 47fadaa

Browse files
committed
Update build scripts
1 parent 5552f2a commit 47fadaa

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/changeset-check.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,28 @@ jobs:
2424
uses: actions/setup-node@v4
2525
with:
2626
node-version: 20
27-
cache: 'pnpm'
27+
cache: "pnpm"
2828

2929
- name: Install dependencies
3030
run: pnpm install --frozen-lockfile
3131

32-
- name: Check if SDK or tools were modified
32+
- name: Check if Twister or tools were modified
3333
id: check-changes
3434
run: |
3535
# Get list of changed files
3636
git fetch origin main
3737
CHANGED_FILES=$(git diff --name-only origin/main...HEAD)
3838
39-
# Check if SDK or tools directories were modified
40-
SDK_CHANGED=$(echo "$CHANGED_FILES" | grep -E '^sdk/' || true)
39+
# Check if Twister or tools directories were modified
40+
TWISTER_CHANGED=$(echo "$CHANGED_FILES" | grep -E '^twister/' || true)
4141
TOOLS_CHANGED=$(echo "$CHANGED_FILES" | grep -E '^tools/' || true)
4242
43-
if [ -n "$SDK_CHANGED" ] || [ -n "$TOOLS_CHANGED" ]; then
43+
if [ -n "$TWISTER_CHANGED" ] || [ -n "$TOOLS_CHANGED" ]; then
4444
echo "needs-changeset=true" >> $GITHUB_OUTPUT
45-
echo "SDK or tools packages were modified"
45+
echo "Twister or tools packages were modified"
4646
else
4747
echo "needs-changeset=false" >> $GITHUB_OUTPUT
48-
echo "No SDK or tools changes detected"
48+
echo "No Twister or tools changes detected"
4949
fi
5050
5151
- name: Check for changesets
@@ -55,7 +55,7 @@ jobs:
5555
CHANGESET_COUNT=$(ls -1 .changeset/*.md 2>/dev/null | grep -v README.md | wc -l | tr -d ' ')
5656
5757
if [ "$CHANGESET_COUNT" -eq 0 ]; then
58-
echo "❌ Error: Changes detected in SDK or tools packages, but no changeset found."
58+
echo "❌ Error: Changes detected in Twister or tools packages, but no changeset found."
5959
echo ""
6060
echo "Please add a changeset by running:"
6161
echo " pnpm changeset"

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [main]
66
paths:
7-
- "builder/**"
7+
- "twister/**"
88
- ".github/workflows/deploy-docs.yml"
99

1010
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -39,18 +39,18 @@ jobs:
3939
cache: "pnpm"
4040

4141
- name: Install dependencies
42-
run: pnpm install --frozen-lockfile --filter=./builder
42+
run: pnpm install --frozen-lockfile --filter=./twister
4343

4444
- name: Build
45-
run: cd builder && pnpm build
45+
run: cd twister && pnpm build
4646

4747
- name: Setup Pages
4848
uses: actions/configure-pages@v4
4949

5050
- name: Upload artifact
5151
uses: actions/upload-pages-artifact@v3
5252
with:
53-
path: "builder/dist/docs"
53+
path: "twister/dist/docs"
5454

5555
deploy:
5656
environment:

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
5454
version=$(echo "$package" | jq -r '.version')
5555
5656
# Determine package directory
57-
if [[ "$name" == "@plotday/agent" ]]; then
58-
pkg_dir="builder"
57+
if [[ "$name" == "@plotday/twister" ]]; then
58+
pkg_dir="twister"
5959
elif [[ "$name" == @plotday/tool-* ]]; then
6060
tool_name="${name#@plotday/tool-}"
6161
pkg_dir="tools/$tool_name"
@@ -64,7 +64,7 @@ jobs:
6464
continue
6565
fi
6666
67-
# Create tag name (e.g., agent@0.9.1 or tool-google-calendar@0.1.0)
67+
# Create tag name (e.g., twister@0.9.1 or tool-google-calendar@0.1.0)
6868
tag_name="${pkg_dir//\//@}@${version}"
6969
7070
# Extract changelog entry for this version

0 commit comments

Comments
 (0)