Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alt: pnpm workspace #3

Merged
merged 1 commit into from
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 39 additions & 27 deletions .github/workflows/NodeJS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,29 @@ jobs:
with:
sparse-checkout: alt

- name: Bindings - Install, Configure, and Build
- uses: pnpm/action-setup@v3
with:
version: 9

- name: Workspace - Install
working-directory: alt
run: pnpm install

- name: Bindings - Build
working-directory: alt/bindings
run: npm install
run: pnpm run build

- name: Bindings - Test
working-directory: alt/bindings
run: npm test

- name: API - Install
working-directory: alt/api
run: npm install
run: pnpm test

- name: API - Build
working-directory: alt/api
run: npm run build
run: pnpm run build

- name: API - Test
working-directory: alt/api
run: npm test
run: pnpm test

osx-nodejs:
name: Mac OS X
Expand All @@ -46,26 +50,30 @@ jobs:
- uses: actions/checkout@v4
with:
sparse-checkout: alt

- uses: pnpm/action-setup@v3
with:
version: 9

- name: Workspace - Install
working-directory: alt
run: pnpm install

- name: Bindings - Install, Configure, and Build
- name: Bindings - Build
working-directory: alt/bindings
run: npm install
run: pnpm run build

- name: Bindings - Test
working-directory: alt/bindings
run: npm test

- name: API - Install
working-directory: alt/api
run: npm install
run: pnpm test

- name: API - Build
working-directory: alt/api
run: npm run build
run: pnpm run build

- name: API - Test
working-directory: alt/api
run: npm test
run: pnpm test

win-nodejs:
name: Windows
Expand All @@ -75,22 +83,26 @@ jobs:
with:
sparse-checkout: alt

- name: Bindings - Install, Configure, and Build
- uses: pnpm/action-setup@v3
with:
version: 9

- name: Workspace - Install
working-directory: alt
run: pnpm install

- name: Bindings - Build
working-directory: alt/bindings
run: npm install
run: pnpm run build

- name: Bindings - Test
working-directory: alt/bindings
run: npm test

- name: API - Install
working-directory: alt/api
run: npm install
run: pnpm test

- name: API - Build
working-directory: alt/api
run: npm run build
run: pnpm run build

- name: API - Test
working-directory: alt/api
run: npm test
run: pnpm test
Loading