Skip to content

Commit 72ba458

Browse files
committed
Revert "CI typecheck and lint"
This reverts commit 663ac0a.
1 parent b08aa88 commit 72ba458

File tree

2 files changed

+1
-51
lines changed

2 files changed

+1
-51
lines changed

.github/workflows/stage-1-commit.yaml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -149,56 +149,6 @@ jobs:
149149
uses: actions/checkout@v5
150150
- name: "Lint Terraform"
151151
uses: ./.github/actions/lint-terraform
152-
153-
detect-typescript-changes:
154-
name: "Detect TypeScript Changes"
155-
runs-on: ubuntu-latest
156-
outputs:
157-
typescript_changed: ${{ steps.check.outputs.typescript_changed }}
158-
steps:
159-
- name: "Checkout code"
160-
uses: actions/checkout@v5
161-
162-
- name: "Check for TypeScript changes"
163-
id: check
164-
run: |
165-
git fetch origin main || true # Ensure you have the latest main branch
166-
CHANGED_FILES=$(git diff --name-only HEAD origin/main)
167-
echo "Changed files: $CHANGED_FILES"
168-
169-
if echo "$CHANGED_FILES" | grep -qE '\.ts$'; then
170-
echo "Typescript files have changed."
171-
echo "typescript_changed=true" >> $GITHUB_OUTPUT
172-
else
173-
echo "No Typescript changes detected."
174-
echo "typescript_changed=false" >> $GITHUB_OUTPUT
175-
fi
176-
typecheck-typescript:
177-
name: "Typecheck TypeScript"
178-
runs-on: ubuntu-latest
179-
timeout-minutes: 5
180-
needs: detect-typescript-changes
181-
if: needs.detect-typescript-changes.outputs.typescript_changed == 'true'
182-
steps:
183-
- name: "Checkout code"
184-
uses: actions/checkout@v5
185-
- name: "Typecheck TypeScript"
186-
run: |
187-
npm run typecheck --workspaces
188-
lint-typescript:
189-
name: "Typecheck TypeScript"
190-
runs-on: ubuntu-latest
191-
timeout-minutes: 5
192-
needs: detect-typescript-changes
193-
if: needs.detect-typescript-changes.outputs.typescript_changed == 'true'
194-
steps:
195-
- name: "Checkout code"
196-
uses: actions/checkout@v5
197-
- name: "Typecheck TypeScript"
198-
run: |
199-
npm run lint --workspaces
200-
201-
202152
trivy:
203153
name: "Trivy Scan"
204154
runs-on: ubuntu-latest

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build": "JEKYLL_ENV=production bundle exec jekyll build --trace --config _config.yml,_config.version.yml",
1515
"debug": "JEKYLL_ENV=development BUNDLE_GEMFILE=Gemfile bundle exec jekyll serve --config _config.yml,_config.dev.yml,_config.version.yml --limit_posts 100 --trace",
1616
"generate-includes": "./generate-includes.sh",
17-
"lint": "echo \"Documentation module has no typescript to lint\"",
17+
"lint": "echo \"Documentation module has no code to lint\"",
1818
"test:unit": "echo \"Documentation module has no unit tests\"",
1919
"typecheck": "echo \"Documentation module has no typescript to typecheck\""
2020
},

0 commit comments

Comments
 (0)