From 80a785a7d7d3329fe831b6a5c6b46d3232c6c53a Mon Sep 17 00:00:00 2001 From: Lonli-Lokli Date: Tue, 16 Jul 2024 13:09:28 +0100 Subject: [PATCH] fix: update publish script --- .github/workflows/npm-publish.yaml | 3 ++- packages/ts-result/package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index 72d0784..83198d7 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -12,7 +12,8 @@ jobs: node-version: '18' - run: npm i - run: npm run test + - run: npm run build - uses: JS-DevTools/npm-publish@v3 with: - package: packages/ts-result + package: build token: ${{ secrets.NPM_TOKEN }} diff --git a/packages/ts-result/package.json b/packages/ts-result/package.json index 3c2f2a0..505b0fd 100644 --- a/packages/ts-result/package.json +++ b/packages/ts-result/package.json @@ -1,6 +1,6 @@ { "name": "@lonli-lokli/ts-result", - "version": "2.2.0", + "version": "2.3.0", "private": false, "sideEffects": false, "main": "./cjs/index.js",