pull/7431/head
zomars 2023-02-27 16:17:48 -07:00
parent d8be331679
commit 0ce2c654ce
3 changed files with 6 additions and 6 deletions

View File

@ -21,3 +21,6 @@ runs:
**/.turbo/**
**/dist/**
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-${{ env.key-3 }}
- run: yarn build
if: steps.cache-build.outputs.cache-hit != 'true'
shell: bash

View File

@ -21,6 +21,9 @@ runs:
key: ${{ runner.os }}-${{ env.cache-name }}-${{ inputs.path }}-${{ env.key-1 }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-${{ inputs.path }}-${{ env.key-1 }}-${{ github.sha }}
- run: yarn db-seed
if: steps.cache-db.outputs.cache-hit != 'true'
shell: bash
- name: Postgres Dump Backup
if: steps.cache-db.outputs.cache-hit != 'true'
uses: tj-actions/pg-dump@v2.3

View File

@ -19,12 +19,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/cache-db
id: cache-db
- uses: ./.github/actions/yarn-install
- uses: ./.github/actions/cache-build
id: cache-build
- uses: ./.github/actions/env-read-file
- run: yarn db-seed
if: steps.cache-db.outputs.cache-hit != 'true'
- run: yarn build
if: steps.cache-build.outputs.cache-hit != 'true'