mirror of
https://github.com/trycua/computer.git
synced 2026-05-13 03:49:00 -05:00
Fix action issues with typescript libs, warnings on core lib
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user