diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 91e0a3f..964420a 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -31,11 +31,11 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org/ - - run: npm ci - - run: npm run build - - run: npm publish + - run: npm install -g pnpm + - run: pnpm install + - run: pnpm run build + - run: pnpm publish env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} - + NODE_AUTH_TOKEN: ${{secrets.npm_token}} \ No newline at end of file diff --git a/package.json b/package.json index 11d5519..0b11fc8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "haritorax-interpreter", - "version": "2.0.1", + "version": "3.0.0", "homepage": "https://github.com/JovannMC/haritorax-interpreter", "repository": "https://github.com/JovannMC/haritorax-interpreter", "bugs": { diff --git a/src/HaritoraX.ts b/src/HaritoraX.ts index e2381c6..96a6685 100644 --- a/src/HaritoraX.ts +++ b/src/HaritoraX.ts @@ -838,7 +838,6 @@ export default class HaritoraX extends EventEmitter { if (device === "HaritoraX Wired") { return await com.getDevicePorts("HaritoraX Wired"); } else { - log("1 Getting available ports for " + device); return await com.getDevicePorts(device); } } finally {