Skip to content

Commit 7df4c3b

Browse files
chore: Update CI
1 parent 98fe7d5 commit 7df4c3b

File tree

3 files changed

+23
-30
lines changed

3 files changed

+23
-30
lines changed

.github/actions/setup/action.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
10+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
11+
with:
12+
path: .turbo
13+
key: ${{ runner.os }}-turbo-${{ github.sha }}
14+
restore-keys: |
15+
${{ runner.os }}-turbo-
16+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
17+
with:
18+
node-version: 24
19+
cache: 'pnpm'
20+
- run: pnpm install
21+
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)