- Node Js
Once you have cloned this repo to your machine you should do the following:
- run
npm installthis will install all the deps (specified in thepackage.jsonto your machine [aka jest for now]) - you can then run the test suite locally using this command
npm run test - you can view the actual site itself by opening the file called
index.html
You can run this command:
npm test
ORk
npm run test
To trigger all the unit tests to run locally on your machine, so that you can see which tests are working and which are not.
You can run this command:
npx standard
OR
npm run lint
To perform a lint check locally on your machine!
You can run this command:
npx standard --fix
To automatically change your code and fix the lint problems without doing any code changes yourself! Nice!
surge makeup details
must end in surge.sh
surge . bk-sample-site-staffs.surge.sh
env: SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} run: surge --project ./ --domain .surge.sh --token $SURGE_TOKEN
New Dir created yml file created index.js file npm init enter all edited yml file editied indx file deps: "@actions/core": "^2.0.1" npm install git init ga gcom create private repo and push tag and push v1 gitignore! node_mods