Skip to content

fix js files

fix js files #8

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: Code Crafters E-commerce CI
on:
push:
branches:
- ft-friday-demo
pull_request:
branches:
- ft-friday-demo
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: install dependencies
run: npm install
- name: build
run: npm run build --if-present
- name: run tests
run: npm run test