Skip to content

Commit 38aaf77

Browse files
committed
fix: reorganize project structure and update GitHub Actions workflows
1 parent 2c884c3 commit 38aaf77

26 files changed

+15
-1
lines changed

.github/workflows/python-exercise-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,8 @@ jobs:
2626
- name: Install dependencies
2727
run: pnpm install
2828

29+
- name: Install Python dependencies
30+
run: pnpm dlx nx install python-exercise
31+
2932
- name: Run tests
3033
run: pnpm dlx nx test python-exercise

.github/workflows/ruby-exercise-test.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
12-
12+
1313
steps:
1414
- uses: actions/checkout@v4
1515

@@ -19,9 +19,20 @@ jobs:
1919
ruby-version: '3.2'
2020
bundler-cache: true
2121

22+
- name: Install pnpm
23+
uses: pnpm/action-setup@v2
24+
with:
25+
version: '10.8.1'
26+
2227
- name: Install dependencies
28+
run: pnpm install
29+
30+
- name: Install Ruby dependencies
2331
run: bundle install
2432
working-directory: packages/ruby-exercises
2533

34+
- name: Install Ruby dependencies with nx
35+
run: pnpm dlx nx bundle ruby-exercise
36+
2637
- name: Run tests
2738
run: pnpm dlx nx test ruby-exercise
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)