Skip to content

Commit

Permalink
build ig
Browse files Browse the repository at this point in the history
  • Loading branch information
niquola committed Oct 2, 2024
1 parent 42208a6 commit 5c82810
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: install java
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 17
- name: Install dependencies
working-directory: sof-js
run: bun install
Expand All @@ -31,14 +36,16 @@ jobs:
- name: Build test report
working-directory: test_report
run: bun install && bun run prepare && bun run build
- name: Build IG
run: bun i fsh-sushi && ./scripts/_updatePublisher.sh && ./scripts/_genonce.sh && cp -R test_report/public output/extra
- name: Setup Pages
uses: actions/configure-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
if: ${{ github.ref == 'refs/heads/master' }}
with:
path: 'test_report/public'
path: 'output'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
Expand Down

0 comments on commit 5c82810

Please sign in to comment.