Skip to content

Commit

Permalink
chore: run debug command according to OS type
Browse files Browse the repository at this point in the history
  • Loading branch information
anasouardini committed Feb 24, 2024
1 parent 664443b commit 3008c49
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,16 @@ jobs:
- name: install dependencies
run: pnpm install

- name: tree view
run: tree .
- name: ls
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
tree -L 3
elif [ "$RUNNER_OS" == "Windows" ]; then
dir
elif [ "$RUNNER_OS" == "macOS" ]; then
ls -la
fi
shell: bash

- name: Run CI
run: pnpm run ci

0 comments on commit 3008c49

Please sign in to comment.