Skip to content

Commit

Permalink
run bundler bonanza in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
finn-block committed Mar 15, 2024
1 parent dbae44d commit ca33830
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/cross-environment-tests.yml
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

0 comments on commit ca33830

Please sign in to comment.