Skip to content

Commit 07de2ee

Browse files
committed
ci: use containerbase setup action
1 parent 1769f88 commit 07de2ee

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ env:
1515
DRY_RUN: ${{ github.ref_name != 'main' }}
1616
OWNER: ${{ github.repository_owner }}
1717
PLATFORMS: linux/amd64,linux/arm64
18-
HUSKY: 0
1918

2019
permissions:
2120
contents: read
@@ -25,9 +24,11 @@ jobs:
2524
runs-on: ubuntu-latest
2625
timeout-minutes: 10
2726
steps:
28-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29-
- run: corepack enable
30-
- run: pnpm install
27+
- name: ⚙️ Setup
28+
uses: containerbase/internal-tools/setup@fcbde3cdedad26eabf59776988e2a4b47fee98e5 # v3.7.0
29+
with:
30+
save-cache: true
31+
3132
- run: pnpm prettier
3233

3334
build:
@@ -49,7 +50,7 @@ jobs:
4950
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ env.OWNER }} --password-stdin
5051
5152
- name: Publish to ghcr.io
52-
uses: containerbase/internal-tools@bbbf98bb61968071a4052c89fccd25a292d69c73 # v3.5.22
53+
uses: containerbase/internal-tools@fcbde3cdedad26eabf59776988e2a4b47fee98e5 # v3.7.0
5354
with:
5455
command: docker-builder
5556
image-prefix: ghcr.io/${{ env.OWNER }}
@@ -67,6 +68,8 @@ jobs:
6768

6869
steps:
6970
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
71+
with:
72+
show-progress: false
7073

7174
- name: Init
7275
run: ./bin/init.sh

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.13.1

0 commit comments

Comments
 (0)