diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index edcc17c..37139b7 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -18,6 +18,6 @@ jobs: node-version: current registry-url: https://registry.npmjs.org/ - run: npm ci - - run: npm publish + - run: npx enhanced-publish --if-possible --use-preid-as-tag env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 859dad8..97e21cc 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,7 @@ "name": "@js-soft/eslint-config-ts", "version": "1.6.13", "description": "j&s-soft typescript linting rules", - "repository": { - "type": "git", - "url": "https://github.com/js-soft/ts-linting.git" - }, + "repository": "github:js-soft/ts-linting", "license": "MIT", "author": "js-soft GmbH", "main": "index.js",