From e2d9b048fd59fd383f28e9194490dc430302cdca Mon Sep 17 00:00:00 2001 From: Rose Date: Wed, 24 Jul 2024 03:55:38 -0400 Subject: [PATCH] add buildx and change caching around --- .forgejo/workflows/devel.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/devel.yml b/.forgejo/workflows/devel.yml index dfa62cc..16ab18d 100644 --- a/.forgejo/workflows/devel.yml +++ b/.forgejo/workflows/devel.yml @@ -8,7 +8,7 @@ jobs: container: image: node:21-alpine steps: - - name: setup job + - name: setup workspace run: | apk add --no-cache libc6-compat git zstd docker docker-cli apk update @@ -16,16 +16,20 @@ jobs: yarn config set nodeLinker node-modules - name: checkout uses: https://code.forgejo.org/actions/checkout@v4 - - name: cache turbo build + - name: cache uses: https://code.forgejo.org/actions/cache@v4 with: - path: .turbo + path: | + .yarn + node_modules key: ${{ runner.os }}-turbo-${{ github.sha }} restore-keys: | ${{ runner.os }}-turbo- ${{ runner.os }}- - name: yarn install run: yarn install + - name: Docker Buildx + uses: https://code.forgejo.org/docker/setup-buildx-action@v3 - name: Login to Docker Registry uses: https://code.forgejo.org/docker/login-action@v3 with: