Skip to content

FEAT: Setting up Development Environment #2

FEAT: Setting up Development Environment

FEAT: Setting up Development Environment #2

Workflow file for this run

# CI Workflow: Biome JS | Flows
#
# This workflow automates the process of checking code style using Biome.
# It is triggered on push and pull request events to the main branch.
#
# Jobs:
# 1. **style-checker**: This job checks the code style using Biome. It installs the necessary
# dependencies and runs the `biome:check` script defined in the `package.json` file.
name: "CI: Biome JS | Flows"
on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- flows/**
permissions:
contents: read
jobs:
# Job to check code style using Biome
style-checker:
runs-on: ubuntu-latest
steps:
# Step to checkout the repository
- name: Checkout
uses: actions/checkout@v4
# Step to change directory to flows
- name: Change directory to flows
run: cd flows
# Step to setup Node.js environment
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
# Step to install dependencies and run Biome check
- name: Install dependencies and run biome
run: |
npm install
npm run biome:check