diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index ad8944a..8180b6e 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -14,6 +14,10 @@ jobs: node-version: '16.x' registry-url: 'https://registry.npmjs.org' scope: '@thundernetworkrad' + - name: Install Dependencies + run: npm i + - name: Build + run: npm run build - name: Publish package on NPM 📦 run: npm publish --access public env: @@ -32,6 +36,10 @@ jobs: node-version: '16.x' registry-url: 'https://npm.pkg.github.com' scope: '@thundernetworkrad' + - name: Install Dependencies + run: npm i + - name: Build + run: npm run build - name: Publish package on NPM 📦 run: npm publish --access public env: diff --git a/package.json b/package.json index 314b09f..1df2275 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "@thundernetworkrad/logs", - "version": "2023.02.05", + "version": "2023.02.05-1", "description": "Logging module for JavaScript / TypeScript", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { - "install": "tsc" + "build": "tsc" }, "repository": { "type": "git", @@ -18,7 +18,7 @@ }, "homepage": "https://github.com/ThunderNetworkRaD/node-logs#readme", "dependencies": { - "@thundernetworkrad/time": "^2023.2.5", + "@thundernetworkrad/time": "^2023.2.5-2", "@types/node": "^18.11.18", "tslib": "^2.5.0", "typescript": "^4.9.4"