Fix action issues with typescript libs, warnings on core lib

This commit is contained in:
Morgan Dean
2025-07-02 11:18:32 -07:00
parent 990e538b97
commit 0c777e0582
3 changed files with 9 additions and 7 deletions

View File

@@ -22,14 +22,15 @@ jobs:
- name: Install dependencies
working-directory: ./libs/typescript/computer
run: npm ci
run: pnpm install --frozen-lockfile
- name: Build package
working-directory: ./libs/typescript/computer
run: npm run build --if-present
run: pnpm run build --if-present
- name: Publish to npm
working-directory: ./libs/typescript/computer
run: npm publish --provenance --access public
run: pnpm publish --access public --no-git-checks
env:
NPM_CONFIG_PROVENANCE: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -22,14 +22,15 @@ jobs:
- name: Install dependencies
working-directory: ./libs/typescript/core
run: npm ci
run: pnpm install --frozen-lockfile
- name: Build package
working-directory: ./libs/typescript/core
run: npm run build --if-present
run: pnpm run build --if-present
- name: Publish to npm
working-directory: ./libs/typescript/core
run: npm publish --provenance --access public
run: pnpm publish --access public --no-git-checks
env:
NPM_CONFIG_PROVENANCE: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -3,7 +3,7 @@ import { defineConfig } from 'tsdown';
export default defineConfig([
{
entry: ['./src/index.ts'],
platform: 'neutral',
platform: 'node',
dts: true,
},
]);