diff --git a/.github/actions/cache-front/action.yml b/.github/actions/cache-front/action.yml index 5c70813..84efe52 100644 --- a/.github/actions/cache-front/action.yml +++ b/.github/actions/cache-front/action.yml @@ -3,6 +3,9 @@ description: 'Cache for Front' runs: using: "composite" steps: + - name: Add build dependencies to container + shell: sh + run: apk add --update --no-progress tar - name: Cache uses: actions/cache@v3 with: diff --git a/.github/workflows/front.yml b/.github/workflows/front.yml index 4c0b234..3d1f0aa 100644 --- a/.github/workflows/front.yml +++ b/.github/workflows/front.yml @@ -1,4 +1,4 @@ -name: "Front (Vue)" +name: "Front" on: pull_request: branches: [ main ] @@ -54,7 +54,7 @@ jobs: - uses: ./.github/actions/cache-front - run: yarn - name: Check format - run: yarn run prettier --check + run: yarn run prettier --check . Lint: if: ${{ needs.changes.outputs.front == 'true' && github.event_name == 'pull_request' }} runs-on: ubuntu-latest