Skip to content

Commit 035ce33

Browse files
committed
Update build-container.yml
1 parent 216ea97 commit 035ce33

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/build-container.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,26 @@ jobs:
4545
id: check_client
4646
run: |
4747
if [ -d "MyApp.Client" ] && [ -f "MyApp.Client/package.json" ]; then
48-
echo "client_exists=true" >> $GITHUB_OUTPUT
49-
else
50-
echo "client_exists=false" >> $GITHUB_OUTPUT
48+
echo "requires_npm=true" >> $GITHUB_OUTPUT
5149
fi
5250
5351
- name: Setup Node.js
54-
if: steps.check_client.outputs.client_exists == 'true'
52+
if: steps.check_client.outputs.requires_npm == 'true'
5553
uses: actions/setup-node@v3
5654
with:
5755
node-version: 22
5856

5957
- name: Install npm dependencies
60-
if: steps.check_client.outputs.client_exists == 'true'
58+
if: steps.check_client.outputs.requires_npm == 'true'
6159
working-directory: ./MyApp.Client
6260
run: npm install
6361

62+
- name: Install tailwindcss
63+
run: |
64+
mkdir -p /home/runner/.local/bin
65+
curl -o "/home/runner/.local/bin/tailwindcss" -L "https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64"
66+
chmod +x /home/runner/.local/bin/tailwindcss
67+
6468
- name: Install x tool
6569
run: dotnet tool install -g x
6670

0 commit comments

Comments
 (0)