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",