Skip to content

Correct mistake to product #48

Correct mistake to product

Correct mistake to product #48

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, pull_request]
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