diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b7589e6..7c18d0e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,9 +15,8 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20.x - registry-url: 'https://registry.npmjs.org' + node-version: 22.x cache: npm - run: npm ci - run: npm run build - - run: npm publish --access public --provenance + - run: npm publish --provenance diff --git a/package-lock.json b/package-lock.json index b625c1c..378d5a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ssntpl/otper-cli", - "version": "0.1.2", + "version": "0.1.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ssntpl/otper-cli", - "version": "0.1.2", + "version": "0.1.3", "license": "MIT", "dependencies": { "@oclif/core": "^4.0.30", diff --git a/package.json b/package.json index 8ef3050..befb475 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ssntpl/otper-cli", - "version": "0.1.2", + "version": "0.1.3", "description": "Command-line interface for Otper boards (https://otper.com).", "author": "SSNTPL ", "license": "MIT", @@ -32,6 +32,10 @@ "engines": { "node": ">=18" }, + "publishConfig": { + "access": "public", + "registry": "https://registry.npmjs.org/" + }, "scripts": { "build": "shx rm -rf dist && tsc", "lint": "tsc --noEmit",