Skip to content

Commit 84a7de3

Browse files
wemeetagainclaude
andcommitted
fix: update CI workflows from yarn to npm, add CNAME for GitHub Pages
- publish.yml: yarn → npm ci/npm run build, add cname option - checks.yml: yarn → npm ci/npm run, pin actions/checkout@v4 - cd-manual.yml: yarn → npm ci/npm run, remove corepack The production site (simpleserialize.com) is deployed via Cloudflare Pages using cd-manual.yml (manual dispatch). The GitHub Pages deploy goes to chainsafe.github.io/simpleserialize.com/. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent acd6171 commit 84a7de3

3 files changed

Lines changed: 16 additions & 15 deletions

File tree

.github/workflows/cd-manual.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,12 @@ jobs:
99
contents: read
1010
deployments: write
1111
steps:
12-
- uses: actions/checkout@v5
13-
- run: corepack enable
14-
- uses: actions/setup-node@v5
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1514
with:
16-
cache: yarn
1715
node-version: "22"
18-
- name: Bootstrap
19-
run: yarn --immutable
20-
- name: Build
21-
run: yarn build
16+
- run: npm ci
17+
- run: npm run build
2218
- name: Publish to Cloudflare Pages
2319
uses: cloudflare/pages-action@1
2420
with:

.github/workflows/checks.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ jobs:
66
Checks:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v5
10-
- run: yarn install
11-
- run: yarn build
12-
- run: yarn check-types
13-
- run: yarn lint
9+
- uses: actions/checkout@v4
10+
- name: Setup Node
11+
uses: actions/setup-node@v4
12+
with:
13+
node-version: "22"
14+
- run: npm ci
15+
- run: npm run build
16+
- run: npm run check-types
17+
- run: npm run lint

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ jobs:
1414
uses: actions/setup-node@v4
1515
with:
1616
node-version: "22"
17-
- run: yarn
18-
- run: yarn build
17+
- run: npm ci
18+
- run: npm run build
1919
- name: Deploy
2020
uses: peaceiris/actions-gh-pages@v3
2121
with:
2222
github_token: ${{ secrets.GITHUB_TOKEN }}
2323
publish_branch: gh-pages
2424
publish_dir: ./dist
25+
cname: simpleserialize.com

0 commit comments

Comments
 (0)