Skip to content

update node version in yml files to 18 to be used with actions/checko… #8

update node version in yml files to 18 to be used with actions/checko…

update node version in yml files to 18 to be used with actions/checko… #8

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
- ipfs
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Checkout Code
uses: actions/checkout@v4
- name: Install and Build
run: |
yarn
yarn build
- name: IPFS Deploy 🚀
uses: aquiladev/ipfs-action@master
with:
path: ./build
service: infura
infuraProjectId: ${{ secrets.INFURA_PROJECT_ID }}
infuraProjectSecret: ${{ secrets.INFURA_PROJECT_SECRET }}
- name: IPFS (Pinata)
uses: aquiladev/ipfs-action@master
with:
path: ./build
service: pinata
pinataKey: ${{ secrets.PINATA_KEY }}
pinataSecret: ${{ secrets.PINATA_SECRET }}