Skip to content

Build compliance reports #4

Build compliance reports

Build compliance reports #4

Workflow file for this run

name: Build compliance reports
on:
# This workflow should be required for 'test & maybe release' to succeed
# see https://docs.github.com/en/actions/using-workflows/reusing-workflows#creating-a-reusable-workflow
workflow_call:
workflow_dispatch:
inputs:
type:
description: 'Emulate either schedule, push, or pull_request'
required: true
default: 'schedule'
type: choice
options:
- schedule
- push
- pull_request
jobs:
check-crust-compliance:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- uses: ipfs/aegir/actions/cache-node-modules@master
- name: Reports Cache
uses: actions/cache@v4
with:
path: docs
key: ${{ github.sha }}-crust
- run: npm run dev-start -- -s ${{ secrets.CRUST_API_ENDPOINT }} ${{secrets.CRUST_API_TOKEN}}
- uses: actions/upload-artifact@v4
with:
name: crust-logs
path: dist/docs/pin.crustcode.com
- uses: actions/upload-artifact@v4
with:
name: crust-report
path: dist/docs/pin.crustcode.com.md
check-pinata-compliance:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- uses: ipfs/aegir/actions/cache-node-modules@master
- name: Reports Cache
uses: actions/cache@v4
with:
path: docs
key: ${{ github.sha }}-pinata
- run: npm run dev-start -- -s ${{ secrets.PINATA_API_ENDPOINT }} ${{secrets.PINATA_API_TOKEN}}
- uses: actions/upload-artifact@v4
with:
name: pinata-logs
path: dist/docs/api.pinata.cloud
- uses: actions/upload-artifact@v4
with:
name: pinata-report
path: dist/docs/api.pinata.cloud.md
check-filebase-compliance:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- uses: ipfs/aegir/actions/cache-node-modules@master
- name: Reports Cache
uses: actions/cache@v4
with:
path: docs
key: ${{ github.sha }}-filebase
- run: npm run dev-start -- -s ${{ secrets.FILEBASE_API_ENDPOINT }} ${{secrets.FILEBASE_API_TOKEN}}
- uses: actions/upload-artifact@v4
with:
name: filebase-logs
path: dist/docs/api.filebase.io
- uses: actions/upload-artifact@v4
with:
name: filebase-report
path: dist/docs/api.filebase.io.md
check-nft-dot-storage-compliance:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- uses: ipfs/aegir/actions/cache-node-modules@master
- name: Reports Cache
uses: actions/cache@v4
with:
path: docs
key: ${{ github.sha }}-nft
- run: npm run dev-start -- -s ${{ secrets.NFT_API_ENDPOINT }} ${{secrets.NFT_API_TOKEN}}
- uses: actions/upload-artifact@v4
with:
name: nft-logs
path: dist/docs/nft.storage
- uses: actions/upload-artifact@v4
with:
name: nft-report
path: dist/docs/nft.storage.md
check-web3-dot-storage-compliance:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- uses: ipfs/aegir/actions/cache-node-modules@master
- name: Reports Cache
uses: actions/cache@v4
with:
path: docs
key: ${{ github.sha }}-web3
- run: npm run dev-start -- -s ${{ secrets.WEB3_API_ENDPOINT }} ${{secrets.WEB3_API_TOKEN}}
- uses: actions/upload-artifact@v4
with:
name: web3-logs
path: dist/docs/api.web3.storage
- uses: actions/upload-artifact@v4
with:
name: web3-report
path: dist/docs/api.web3.storage.md
check-4everland-compliance:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- uses: ipfs/aegir/actions/cache-node-modules@master
- name: Reports Cache
uses: actions/cache@v4
with:
path: docs
key: ${{ github.sha }}-4everland
- run: npm run dev-start -- -s ${{ secrets.FOREVERLAND_API_ENDPOINT }} ${{secrets.FOREVERLAND_API_TOKEN}}
- uses: actions/upload-artifact@v4
with:
name: 4everland-logs
path: dist/docs/api.4everland.dev
- uses: actions/upload-artifact@v4
with:
name: 4everland-report
path: dist/docs/api.4everland.dev.md
check-scaleway-compliance:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- uses: ipfs/aegir/actions/cache-node-modules@master
- name: Reports Cache
uses: actions/cache@v4
with:
path: docs
key: ${{ github.sha }}-scaleway
- run: npm run dev-start -- -s ${{ secrets.SCALEWAY_API_ENDPOINT }} ${{secrets.SCALEWAY_API_TOKEN}}
- uses: actions/upload-artifact@v4
with:
name: scaleway-logs
path: dist/docs/pl-waw.ipfs.labs.scw.cloud
- uses: actions/upload-artifact@v4
with:
name: scaleway-report
path: dist/docs/pl-waw.ipfs.labs.scw.cloud.md