Skip to content

Commit

Permalink
chore: save time
Browse files Browse the repository at this point in the history
  • Loading branch information
nickreynolds committed Apr 10, 2024
1 parent 398a32f commit 8adb2ad
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions .github/workflows/build-test-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: pnpm/action-setup@v2
with:
version: 8

- name: 'Setup git coordinates'
run: |
git remote set-url origin https://${{secrets.GITHUB_USER}}:${{secrets.GITHUB_TOKEN}}@github.com/decentralized-identity/agent-explorer.git
Expand All @@ -26,35 +26,3 @@ jobs:
- run: pnpm install
- run: pnpm run -r build:js
- run: pnpm run test

build-electron:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
with:
version: 8

- name: 'Setup Node.js with pnpm cache'
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'

- run: pnpm install
- run: pnpm run -r --filter "agent-explore^..." build:js # only the dependencies of agent-explore

- name: Build Electron app
uses: paneron/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
package_root: "./packages/agent-explore"
build_script_name: build-electron
package_manager: pnpm

0 comments on commit 8adb2ad

Please sign in to comment.