Skip to content

Commit 9493ee6

Browse files
committed
Fix
1 parent ce962f6 commit 9493ee6

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/cd-api.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,6 @@ 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-
curl -LO "$LATEST"
56-
unzip -o tofu_*_linux_amd64.zip
57-
sudo mv tofu /usr/local/bin/
58-
rm tofu_*_linux_amd64.zip
59-
echo "OpenTofu version: $(tofu version)"
60-
cd backend/api || exit 1
61-
tofu init
62-
6349
- name: Setup Node.js
6450
if: steps.check.outputs.changed == 'true'
6551
uses: actions/setup-node@v4
@@ -87,6 +73,20 @@ jobs:
8773
run: |
8874
gcloud auth configure-docker us-west1-docker.pkg.dev --quiet
8975
76+
- name: Install Tofu (Terraform)
77+
if: steps.check.outputs.changed == 'true'
78+
run: |
79+
sudo apt-get update
80+
sudo apt-get install -y wget unzip
81+
LATEST=https://github.com/opentofu/opentofu/releases/download/v1.10.5/tofu_1.10.5_linux_amd64.zip
82+
curl -LO "$LATEST"
83+
unzip -o tofu_*_linux_amd64.zip
84+
sudo mv tofu /usr/local/bin/
85+
rm tofu_*_linux_amd64.zip
86+
echo "OpenTofu version: $(tofu version)"
87+
cd backend/api || exit 1
88+
tofu init
89+
9090
- name: Run deploy script
9191
if: steps.check.outputs.changed == 'true'
9292
run: |

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.7",
4+
"version": "1.0.8",
55
"private": true,
66
"scripts": {
77
"watch:serve": "tsx watch src/serve.ts",

0 commit comments

Comments
 (0)