Skip to content

Commit

Permalink
LFG
Browse files Browse the repository at this point in the history
  • Loading branch information
zomars committed Feb 27, 2023
1 parent d8be331 commit 0ce2c65
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/actions/cache-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions .github/actions/cache-db/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/production-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 0ce2c65

Please sign in to comment.