Skip to content

Commit 653a463

Browse files
chore: Update CI
1 parent 98fe7d5 commit 653a463

File tree

3 files changed

+24
-30
lines changed

3 files changed

+24
-30
lines changed

.github/actions/setup/action.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: setup
2+
3+
runs:
4+
using: composite
5+
steps:
6+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
7+
with:
8+
fetch-depth: 2
9+
submodules: recursive
10+
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
11+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
12+
with:
13+
path: .turbo
14+
key: ${{ runner.os }}-turbo-${{ github.sha }}
15+
restore-keys: |
16+
${{ runner.os }}-turbo-
17+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
18+
with:
19+
node-version: 24
20+
cache: 'pnpm'
21+
- run: pnpm install
22+
shell: bash

.github/workflows/build-deploy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,12 @@ on:
1212
workflow_dispatch:
1313

1414
jobs:
15-
setup:
16-
uses: vivliostyle/vivliostyle.pub/.github/workflows/setup.yml@ci/deploy
17-
1815
build:
19-
needs: setup
2016
runs-on: ubuntu-latest
2117
permissions:
2218
contents: read
2319
steps:
20+
- uses: vivliostyle/vivliostyle.pub/.github/actions/setup@ci/deploy
2421
- run: pnpm build
2522

2623
deploy:
@@ -30,4 +27,5 @@ jobs:
3027
permissions:
3128
contents: read
3229
steps:
30+
- uses: vivliostyle/vivliostyle.pub/.github/actions/setup@ci/deploy
3331
- run: pnpm build

.github/workflows/setup.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)