feat: upgrade to bee-js 8 #301
Workflow file for this run
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: 'build-test' | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- 'releases/*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: npm ci | |
- run: npm run all --workspaces | |
- uses: ./upload-dir | |
id: upload | |
with: | |
dir: ./upload-dir/dist | |
- uses: ./write-feed | |
id: feed | |
with: | |
reference: ${{ steps.upload.outputs.reference }} | |
topic: 'swarm-actions-test' | |
signer: ${{ secrets.SIGNER }} | |
- uses: ./reference-to-cid | |
id: cid | |
with: | |
reference: ${{ steps.feed.outputs.manifest }} | |
- run: | | |
echo 'Chunk Reference: ${{ steps.upload.outputs.reference }}' | |
echo 'Feed Reference: ${{ steps.feed.outputs.reference }}' | |
echo 'Feed Manifest: ${{ steps.feed.outputs.manifest }}' | |
echo 'Feed Bzz.link: https://${{ steps.cid.outputs.cid }}.bzz.link' | |
- uses: ./pr-preview | |
id: pr-preview | |
with: | |
dir: ./upload-dir/dist | |
- run: | | |
echo 'Swarm hash: ${{ steps.pr-preview.outputs.swarm-hash }}' | |
echo 'Bzz link URL: ${{ steps.pr-preview.outputs.url }}' |