Skip to content

Feat: CORS Middleware #1

Feat: CORS Middleware

Feat: CORS Middleware #1

Workflow file for this run

name: CORS Policy CI
on:
workflow_dispatch: # for manual runs
pull_request:
types: [ opened, synchronize, reopened ]
paths:
- 'middlewares/cors/**'
jobs:
build-and-test:
name: Run Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Dependencies
run: npm install
working-directory: ./middlewares/cors
- name: Run Prettier
run: npm run lint
working-directory: ./middlewares/cors