-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
give sunny awards its own CI workflow (#4466)
* give sunny awards its own CI workflow * fix ci ation * fix farcaster * update dockerfile * . * fix * update dockerfiles * fix docker image name for sunny * fix ecr image name * fix farcaster * rename deploy to prod task * remove name
- Loading branch information
Showing
11 changed files
with
540 additions
and
170 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,26 @@ | ||
name: 'Build app' | ||
|
||
inputs: | ||
app_name: | ||
description: The name of the app' | ||
required: true | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
|
||
- name: Restore build | ||
id: restore_build | ||
uses: actions/cache@v4 | ||
with: | ||
# include the public folder in case the build output puts something there (like sw.js) | ||
path: | | ||
apps/${{ inputs.app_name }}/.next | ||
apps/${{ inputs.app_name }}/public | ||
key: app-${{ inputs.app_name }}-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('lib/**/*.ts[x]', '@connect-shared/**/*.ts[x]', 'apps/${{ inputs.app_name }}/**/*.ts', 'apps/${{ inputs.app_name }}/**/*.scss') }} | ||
|
||
- name: Build app | ||
shell: bash | ||
if: steps.restore_build.outputs.cache-hit != 'true' | ||
run: | | ||
npm run ${{ inputs.app_name }}:build |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.