diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index cf3da4e..da9831b 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -1,6 +1,3 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages - name: Node.js Package on: @@ -14,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 - run: npm ci - run: npm test @@ -28,7 +25,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 registry-url: https://npm.pkg.github.com/ - run: npm ci - run: npm run build diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 8e96624..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,40 +0,0 @@ -stages: - - test - - publish - -default: - tags: - - infra-cicd - -test-job: - image: node:16.14.2 - stage: test - cache: - key: npm - policy: pull-push - paths: - - .npm/ - script: - - npm ci - - npm run test - - npm run build - artifacts: - paths: - - node_modules/ - - lib/ - expire_in: 1 days - -publish-job: - image: node:16.14.2 - stage: publish - only: - - /^release\/*/ - cache: - key: npm - policy: pull-push - paths: - - .npm/ - script: - - echo "//registry.npmjs.org/:_authToken=${NPM_PUBLISH_TOKEN}">.npmrc - - npm publish - diff --git a/package-lock.json b/package-lock.json index c8df413..7fa9cb8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@openreply/web-docker-vite-plugin", + "name": "@openreplyde/web-docker-vite-plugin", "version": "2.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "@openreply/web-docker-vite-plugin", + "name": "@openreplyde/web-docker-vite-plugin", "version": "2.0.0", "devDependencies": { "@vitejs/plugin-vue": "^4.0.0", diff --git a/package.json b/package.json index 9381b42..094b3da 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@openreply/web-docker-vite-plugin", + "name": "@openreplyde/web-docker-vite-plugin", "version": "2.0.0", "type": "module", "main": "lib/plugin.js",