-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit bc5105a.
- Loading branch information
Showing
3 changed files
with
24 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,25 +35,25 @@ jobs: | |
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
# - name: 'Cache NPM dependencies' | ||
# uses: pat-s/[email protected] | ||
# with: | ||
# path: | | ||
# **/node_modules | ||
# key: ${{ runner.OS }}-npm-cache-${{ hashFiles('packages/*/package-lock.json') }} | ||
# restore-keys: | | ||
# ${{ runner.OS }}-npm-cache- | ||
# | ||
# - name: Install dependencies | ||
# run: | | ||
# npm i | ||
# node_modules/.bin/lerna bootstrap | ||
# | ||
# - name: 'Build' | ||
# run: | | ||
# npm run types:build | ||
# npm run analyzer:build | ||
# npm run frontend:build:prod | ||
- name: 'Cache NPM dependencies' | ||
uses: pat-s/[email protected] | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.OS }}-npm-cache-${{ hashFiles('packages/*/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.OS }}-npm-cache- | ||
- name: Install dependencies | ||
run: | | ||
npm i | ||
node_modules/.bin/lerna bootstrap | ||
- name: 'Build' | ||
run: | | ||
npm run types:build | ||
npm run analyzer:build | ||
npm run frontend:build:prod | ||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
|
@@ -64,8 +64,6 @@ jobs: | |
|
||
- name: 'Deploy' | ||
run: | | ||
mkdir -p packages/frontend/build | ||
echo "hi" > packages/frontend/build/index.html | ||
aws s3 sync packages/frontend/build s3://${BUCKET_NAME}/${PREFIX} --delete --exact-timestamps | ||
- name: Assume role on main AWS account | ||
|
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