Usng npm:
npm add @nuskin/product-lib
Usng yarn:
yarn add @nuskin/product-lib
const { productLib } = require("@nuskin/product-lib");
let productFromSku = productLib.getProduct({
fromId: "01001054",
env: "dev",
market: "us",
language: "en",
});
console.log(JSON.stringify(productFromSku));
let productFromSlug = productLib.getProduct({
fromSlug: "tegreen",
env: "dev",
market: "us",
language: "en",
});
console.log(JSON.stringify(productFromSlug));
- Changelog could go here
#### 7. Turning on your CI/CD pipeline
Once you are ready for your project to start running the CI/CD pipeline, you should rename the `gitlab-ci.yml`
to `.gitlab-ci.yml`.
```bash
git mv gitlab-ci.yml .gitlab-ci.yml
git commit -am"Chore: renaming gitlab-ci.yml to .gitlab-ci.yml so my pipeline runs"
git push
Link to another page or write up instructions on how Semantic Release works with the pipeline
eslint commit-analyzer rules.