diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1020dd2..a5e79d0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,21 +40,3 @@ jobs: run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - publishGHP: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Setup .npmrc file to publish to GitHub Packages - uses: actions/setup-node@v3 - with: - node-version: '18.x' - registry-url: 'https://npm.pkg.github.com' - scope: '@zilaws' - - name: Install modules - run: npm ci - - name: Build and generate coverage badges - run: npm run build - - name: Publish to GitHub Packages - run: npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.PAT }} diff --git a/package-lock.json b/package-lock.json index c5ff6c6..c171483 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "zilaws-server", - "version": "1.1.2", + "version": "2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "zilaws-server", - "version": "1.1.2", + "version": "2.0.0", "license": "MIT", "dependencies": { "colors": "^1.4.0", diff --git a/package.json b/package.json index ce75ab3..6e4993e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package", "name": "zilaws-server", - "version": "1.1.2", + "version": "2.0.0", "description": "ZilaWS is a blazingly fast and very lightweight library that provides an extremely easy-to-use way to transmit data via websockets between client-side and server-side using eventhandlers and async waiters.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/src/index.ts b/src/index.ts index 875f3c1..54ccbd0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -376,6 +376,7 @@ export class ZilaServer { } }); + /* istanbul ignore next */ this.baseServer.on("listening", async () => { const newestVersion = await this.getNewestVersion(); const currentVersion = (await import("../package.json")).version;