mirror of
https://github.com/trycua/computer.git
synced 2026-01-06 21:39:58 -06:00
Fix action issues with typescript libs, warnings on core lib
This commit is contained in:
7
.github/workflows/npm-publish-computer.yml
vendored
7
.github/workflows/npm-publish-computer.yml
vendored
@@ -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 }}
|
||||
|
||||
7
.github/workflows/npm-publish-core.yml
vendored
7
.github/workflows/npm-publish-core.yml
vendored
@@ -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 }}
|
||||
|
||||
@@ -3,7 +3,7 @@ import { defineConfig } from 'tsdown';
|
||||
export default defineConfig([
|
||||
{
|
||||
entry: ['./src/index.ts'],
|
||||
platform: 'neutral',
|
||||
platform: 'node',
|
||||
dts: true,
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user