Skip to content

Merge pull request #24 from CSC-510-G55/p3/fix/repo #14

Merge pull request #24 from CSC-510-G55/p3/fix/repo

Merge pull request #24 from CSC-510-G55/p3/fix/repo #14

Workflow file for this run

name: Prettier
on:
push:
branches: [project3]
pull_request:
branches: [project3]
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2 # Updated to the latest version
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18' # Specify the version of Node.js you need
- name: Install Prettier
run: npm install --global prettier # Install Prettier globally
- name: Run Prettier
run: |
prettier --check 'frontend/src/**/*.{js,ts,tsx,css}'
prettier --check 'backend/recommenderapp/*.py'