Commit 45475eec authored by nanahira's avatar nanahira

meta

parent 924883d2
Pipeline #41234 passed with stages
in 1 minute and 33 seconds
......@@ -37,16 +37,3 @@ unit-test:
- .build_base
script:
- npm run test
deploy_npm:
stage: deploy
dependencies:
- build
tags:
- linux
script:
- apt update;apt -y install coreutils
- echo $NPMRC | base64 --decode > ~/.npmrc
- npm publish . --access public && curl -X PUT "https://registry-direct.npmmirror.com/$(cat package.json | jq '.name' | sed 's/\"//g')/sync?sync_upstream=true" || true
only:
- master
......@@ -2,7 +2,8 @@
"name": "nfkit",
"description": "Common kits",
"version": "1.0.0",
"main": "dist/index.js",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"lint": "eslint --fix .",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment