release.yaml
1 name: Release 2 3 on: 4 push: 5 branches: 6 - 'main' 7 8 jobs: 9 check: 10 runs-on: ubuntu-latest 11 12 steps: 13 - uses: actions/checkout@v3 14 15 - name: Use Node.js 18 16 uses: actions/setup-node@v3 17 with: 18 node-version: 18 19 20 - uses: pnpm/action-setup@v2 21 with: 22 version: 7 23 24 - name: Install npm deps 25 working-directory: packages/ui 26 run: pnpm i --frozen-lockfile 27 28 - name: Build 29 working-directory: packages/ui 30 run: pnpm run build 31 env: 32 NODE_OPTIONS: --max-old-space-size=4096 33 34 - uses: aquiladev/ipfs-action@v0.3.1 35 with: 36 path: ./packages/ui/build 37 timeout: 300000 38 service: ipfs 39 pin: true 40 host: ipfs-api.apyos.dev 41 protocol: https 42 port: 443 43 headers: '{ "Authorization": "${{ secrets.IPFS_AUTHORIZATION }}" }' 44 key: kurate-ui