Skip to content

Commit

Permalink
ci: added check step for wsl docker containers
Browse files Browse the repository at this point in the history
  • Loading branch information
rH4rtinger committed Sep 17, 2024
1 parent 1567338 commit f48472b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
uses: Vampire/setup-wsl@v3
with:
distribution: Ubuntu-20.04
use-cache: true

- name: Install and Run Docker in WSL
shell: wsl-bash {0}
Expand All @@ -54,6 +55,10 @@ jobs:
# Start Docker Daemon
sudo service docker start
- name: check docker installation
run: wsl docker run hello-world
if: runner.os == 'Windows'

- name: Check Docker Version
shell: wsl-bash {0}
run: docker --version
Expand Down

0 comments on commit f48472b

Please sign in to comment.