Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
with:
working-directory: website
- name: Build website
working-directory: website
run: |
cd website/
yarn build
mkdir testing
mv build testing/jb2
Expand Down Expand Up @@ -93,6 +93,11 @@ jobs:
yarn
yarn e2e
working-directory: component_tests/app-vite
- name: Test desktop app
run: |
yarn build-electron:linux
yarn webdriver-test
working-directory: products/jbrowse-desktop

# Conditionally run the buildjbrowseweb job
buildjbrowseweb:
Expand All @@ -111,23 +116,21 @@ jobs:
uses: bahmutov/npm-install@3714964fb879ebbbc108e167f0f3a0c81ec075c9 # v1.10.10
- name: Build project
run: |
echo $RELEASE_VERSION
cd products/jbrowse-web/
NODE_OPTIONS='--max-old-space-size=6500' yarn build
cd ../../
working-directory: products/jbrowse-web
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 # v5.0.0
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Copy branch build to S3
working-directory: products/jbrowse-web
run: |
cd products/jbrowse-web/build && zip -r "jbrowse-web-$(echo ${{github.ref}} | cut -d '/' -f3-).zip" . && cd -
cp products/jbrowse-web/build/test_data/config.json products/jbrowse-web/build/config.json
aws s3 sync --delete --exclude="*.map" products/jbrowse-web/build s3://jbrowse.org/code/jb2/$(echo ${{github.ref}} | cut -d "/" -f3-)
zip -r "jbrowse-web-$(echo ${{github.ref}} | cut -d '/' -f3-).zip" build .
cp build/test_data/config.json build/config.json
aws s3 sync --delete --exclude="*.map" build s3://jbrowse.org/code/jb2/$(echo ${{github.ref}} | cut -d "/" -f3-)
aws cloudfront create-invalidation --distribution-id E13LGELJOT4GQO --paths "/code/jb2/$(echo ${{github.ref}} | cut -d "/" -f3-)/*"

- name: Build LGV
run: |
yarn storybook:build
Expand Down
5 changes: 4 additions & 1 deletion auth_test_utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"basicauth": "node --experimental-strip-types HTTPBasicAuthServer/app.ts"
},
"dependencies": {
"body-parser": "^2.2.0"
"body-parser": "^2.2.0",
"express": "^5.1.0",
"express-basic-auth": "^1.2.1",
"@node-oauth/express-oauth-server": "^4.0.0"
}
}
Loading
Loading