Skip to content

Raffle page, Add fee #292

Raffle page, Add fee

Raffle page, Add fee #292

name: Linting, formatting and Build on PR
on:
pull_request:
branches:
- dev
jobs:
Continuous-Integration:
name: Performs linting, formatting on the application
runs-on: ubuntu-latest
steps:
- name: Checkout the Repository
uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install yarn
run: npm install -g yarn
- name: Install Dependencies
run: yarn --legacy-peer-deps
- name: Setup env
run: |
touch .env.local
echo "NEXT_PUBLIC_RPC_URL=${{secrets.RPC_URL}}" >> .env.local
echo "RPC_URL=${{secrets.RPC_URL}}" >> .env.local
- name: Run linting check
run: yarn run lint:check
- name: Check formatting
run: yarn run format:check
- name: Build
run: yarn run build