Skip to content

Commit 0ce2c65

Browse files
committed
LFG
1 parent d8be331 commit 0ce2c65

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/actions/cache-build/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ runs:
2121
**/.turbo/**
2222
**/dist/**
2323
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-${{ env.key-3 }}
24+
- run: yarn build
25+
if: steps.cache-build.outputs.cache-hit != 'true'
26+
shell: bash

.github/actions/cache-db/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ runs:
2121
key: ${{ runner.os }}-${{ env.cache-name }}-${{ inputs.path }}-${{ env.key-1 }}-${{ github.sha }}
2222
restore-keys: |
2323
${{ runner.os }}-${{ env.cache-name }}-${{ inputs.path }}-${{ env.key-1 }}-${{ github.sha }}
24+
- run: yarn db-seed
25+
if: steps.cache-db.outputs.cache-hit != 'true'
26+
shell: bash
2427
- name: Postgres Dump Backup
2528
if: steps.cache-db.outputs.cache-hit != 'true'
2629
uses: tj-actions/pg-dump@v2.3

.github/workflows/production-build.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v3
2121
- uses: ./.github/actions/cache-db
22-
id: cache-db
2322
- uses: ./.github/actions/yarn-install
2423
- uses: ./.github/actions/cache-build
25-
id: cache-build
2624
- uses: ./.github/actions/env-read-file
27-
- run: yarn db-seed
28-
if: steps.cache-db.outputs.cache-hit != 'true'
29-
- run: yarn build
30-
if: steps.cache-build.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)