-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7027 from Ocelot-Social-Community/update-frontend…
…-boilerplate-26-02 chore(frontend): update frontend boilerplate 26 02
- Loading branch information
Showing
6 changed files
with
16,029 additions
and
20,656 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: "frontend:test:build test docker" | ||
|
||
on: push | ||
|
||
jobs: | ||
# only (but most important) job from this workflow required for pull requests | ||
# check results serve as run conditions for all other jobs here | ||
files-changed: | ||
name: Detect File Changes - frontend-test-build-docker | ||
runs-on: ubuntu-latest | ||
outputs: | ||
changes: ${{ steps.changes.outputs.frontend-test-build-docker }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Check for frontend file changes | ||
uses: dorny/[email protected] | ||
id: changes | ||
with: | ||
token: ${{ github.token }} | ||
filters: .github/file-filters.yml | ||
list-files: shell | ||
|
||
build-production: | ||
if: needs.files-changed.outputs.changes == 'true' | ||
name: Build Docker Production - Frontend | ||
needs: files-changed | ||
runs-on: ubuntu-latest | ||
env: | ||
WORKING_DIRECTORY: ./frontend | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Frontend | Build Docker Production | ||
run: docker compose -f docker-compose.yml build | ||
working-directory: ${{env.WORKING_DIRECTORY}} | ||
|
||
build-development: | ||
if: needs.files-changed.outputs.changes == 'true' | ||
name: Build Docker Development - Frontend | ||
needs: files-changed | ||
runs-on: ubuntu-latest | ||
env: | ||
WORKING_DIRECTORY: ./frontend | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Frontend | Build Docker Development | ||
run: docker compose build | ||
working-directory: ${{env.WORKING_DIRECTORY}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.