Skip to content

Commit 957cf4d

Browse files
masl2nhsd-david-wass
authored andcommitted
Revert "CI typecheck and lint"
This reverts commit 663ac0a.
1 parent d66a206 commit 957cf4d

2 files changed

Lines changed: 1 addition & 51 deletions

File tree

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

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

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)