ci: add gitlab ci

This commit is contained in:
2022-05-02 14:40:42 +02:00
parent 9c878b8f06
commit c5bd2e8cc6
2 changed files with 11 additions and 1 deletions

10
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,10 @@
image: node:latest
stages:
- deploy
deploy:
stage: deploy
script:
- echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}">.npmrc
- npm publish

View File

@@ -1,5 +1,5 @@
{
"name": "vite-plugin-gettext-loader",
"name": "@arnef/vite-plugin-gettext-loader",
"version": "1.0.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",