From ec14529acede380505cb9289113f778f96116607 Mon Sep 17 00:00:00 2001 From: muerwre Date: Fri, 16 Aug 2024 22:55:26 +0700 Subject: [PATCH] Update .forgejo/workflows/publish.yml --- .forgejo/workflows/publish.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index 9e9f112..e509da2 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -36,6 +36,7 @@ jobs: # node-version: '18' # cache: 'yarn' - run: npm -g install yarn + - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT @@ -48,12 +49,14 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - - name: Build and push Docker image - id: push - uses: docker/build-push-action@v6 - with: - context: . - file: ./Dockerfile - push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + - run: yarn add yup + +# - name: Build and push Docker image +# id: push +# uses: docker/build-push-action@v6 +# with: +# context: . +# file: ./Dockerfile +# push: true +# tags: ${{ steps.meta.outputs.tags }} +# labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file