Skip to content

Commit 4a64e5f

Browse files
committed
Fix
1 parent c458b42 commit 4a64e5f

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

.github/workflows/cd-api.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,19 @@ jobs:
4646
echo "changed=true" >> $GITHUB_OUTPUT
4747
fi
4848
49+
- name: Install Tofu (Terraform)
50+
if: steps.check.outputs.changed == 'true'
51+
run: |
52+
sudo apt-get update
53+
sudo apt-get install -y wget unzip
54+
LATEST=https://github.com/opentofu/opentofu/releases/download/v1.10.5/tofu_1.10.5_linux_amd64.zip
55+
cd /tmp || exit 1
56+
curl -LO "$LATEST"
57+
unzip -o tofu_*_linux_amd64.zip
58+
sudo mv tofu /usr/local/bin/
59+
rm tofu_*_linux_amd64.zip
60+
echo "OpenTofu version: $(tofu version)"
61+
4962
- name: Setup Node.js
5063
if: steps.check.outputs.changed == 'true'
5164
uses: actions/setup-node@v4
@@ -68,19 +81,8 @@ jobs:
6881
with:
6982
project_id: compass-130ba
7083

71-
- name: Install Tofu (Terraform)
72-
run: |
73-
sudo apt-get update
74-
sudo apt-get install -y wget unzip
75-
LATEST=https://github.com/opentofu/opentofu/releases/download/v1.10.5/tofu_1.10.5_linux_amd64.zip
76-
cd /tmp || exit 1
77-
curl -LO "$LATEST"
78-
unzip -o tofu_*_linux_amd64.zip
79-
sudo mv tofu /usr/local/bin/
80-
rm tofu_*_linux_amd64.zip
81-
info "OpenTofu version: $(tofu version)"
82-
8384
- name: Configure Docker for Artifact Registry
85+
if: steps.check.outputs.changed == 'true'
8486
run: |
8587
gcloud auth configure-docker us-west1-docker.pkg.dev --quiet
8688

backend/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@compass/api",
33
"description": "Backend API endpoints",
4-
"version": "1.0.3",
4+
"version": "1.0.4",
55
"private": true,
66
"scripts": {
77
"watch:serve": "tsx watch src/serve.ts",

0 commit comments

Comments
 (0)