Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
- name: Install
run: npm ci
- - name: Build
- run: npm run build:prod
-
- - name: Install Production
- run: npm ci --production
-
- name: Publish
- run: npm publish --prepublishOnly
+ run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
"coverage:html": "nyc report --reporter=html",
"format": "prettier --loglevel silent --write .; prettierx --write .",
"lint": "eslint .",
- "lint:fix": "eslint . --fix"
+ "lint:fix": "eslint . --fix",
+ "prepublishOnly": "npm run build:prod"
},
"repository": {
"type": "git",