run bundler bonanza in CI #1
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
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 |