Skip to content

run bundler bonanza in CI #1

run bundler bonanza in CI

run bundler bonanza in CI #1

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