generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbae44d
commit ca33830
Showing
1 changed file
with
46 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Cross Environment Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- '*' | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
bundler-bonanza: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | ||
with: | ||
path: web5-js | ||
|
||
- name: Checkout bundler-bonanza | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | ||
with: | ||
repository: TBD54566975/bundler-bonanza | ||
path: bundler-bonanza | ||
|
||
- name: Init Hermit | ||
uses: cashapp/activate-hermit@31ce88b17a84941bb1b782f1b7b317856addf286 #v1.1.0 | ||
with: | ||
cache: "true" | ||
|
||
- name: build web5-js | ||
run: | | ||
cd web5-js | ||
pnpm install | ||
pnpm build | ||
- name: run bundler-bonanza | ||
run: | | ||
cd bundler-bonanza | ||
pnpm install --save ../web5-js | ||
pnpm install | ||
pnpm test:web5 |