Create a Makefile to build and test a project.

Code Playground
JavaScript (V8)
Loading...
Console Output
// Output will appear here...
// For React: ReactDOM.createRoot(rootElement).render(<App />);
Recommended Answer
makefile
build:
	npm run build

test:
	npm test

deploy: build test
	echo "Deploying..."