Skip to content

Merge pull request #189 from gdg-ibadan01/staging #182

Merge pull request #189 from gdg-ibadan01/staging

Merge pull request #189 from gdg-ibadan01/staging #182

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: gdg-ibadan-2024 CI
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
#Install dependencies
- name: Install dependencies
run: yarn install
#Run linting
- name: Run linting
run: yarn run lint
# Build the project
- name: Build project
run: yarn build