GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: regen sdk instead of failing tests · nocksock/opencode@df67ae9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • sdk.yml
    • test.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/sdk.yml‎

Copy file name to clipboard
+38Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: sdk
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- production
7+
pull_request:
8+
branches-ignore:
9+
- production
10+
workflow_dispatch:
11+
jobs:
12+
format:
13+
runs-on: blacksmith-4vcpu-ubuntu-2404
14+
permissions:
15+
contents: write
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
with:
20+
token: ${{ secrets.GITHUB_TOKEN }}
21+
22+
- name: Setup Bun
23+
uses: ./.github/actions/setup-bun
24+
25+
- name: run
26+
run: |
27+
bun ./packages/sdk/js/script/build.ts
28+
if [ -z "$(git status --porcelain)" ]; then
29+
echo "No changes to commit"
30+
exit 0
31+
fi
32+
git config --local user.email "[email protected]"
33+
git config --local user.name "GitHub Action"
34+
git add -A
35+
git commit -m "chore: regen sdk"
36+
git push --no-verify
37+
env:
38+
CI: true
Collapse file

‎.github/workflows/test.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/test.yml
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,3 @@ jobs:
2828
bun turbo test
2929
env:
3030
CI: true
31-
32-
- name: Check SDK is up to date
33-
run: |
34-
bun ./packages/sdk/js/script/build.ts
35-
git diff --exit-code packages/sdk/js/src/gen packages/sdk/js/dist
36-
continue-on-error: false

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.