Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit c59c370

Browse files
authored
Pulls in many updates from latest typescript action template (#76)
1 parent 885dfd9 commit c59c370

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+35760
-32580
lines changed

.eslintignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ updates:
1414
directory: /
1515
schedule:
1616
interval: weekly
17+
ignore:
18+
- dependency-name: '@types/node'
19+
update-types:
20+
- 'version-update:semver-major'
1721
groups:
1822
npm-development:
1923
dependency-type: development

.github/linters/.eslintrc.yml

Lines changed: 0 additions & 83 deletions
This file was deleted.

.github/linters/.markdown-lint.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/linters/tsconfig.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/check-dist.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010
name: Check Transpiled JavaScript
1111

1212
on:
13+
pull_request:
14+
branches:
15+
- main
1316
push:
1417
branches:
1518
- main
16-
pull_request:
1719

1820
permissions:
1921
contents: read
@@ -43,18 +45,24 @@ jobs:
4345
id: build
4446
run: npm run bundle
4547

46-
# This will fail the workflow if the PR wasn't created by Dependabot.
48+
# This will fail the workflow if the `dist/` directory is different than
49+
# expected.
4750
- name: Compare Directories
4851
id: diff
4952
run: |
53+
if [ ! -d dist/ ]; then
54+
echo "Expected dist/ directory does not exist. See status below:"
55+
ls -la ./
56+
exit 1
57+
fi
5058
if [ "$(git diff --ignore-space-at-eol --text dist/ | wc -l)" -gt "0" ]; then
5159
echo "Detected uncommitted changes after build. See status below:"
5260
git diff --ignore-space-at-eol --text dist/
5361
exit 1
5462
fi
5563
56-
# If `dist/` was different than expected, and this was not a Dependabot
57-
# PR, upload the expected version as a workflow artifact.
64+
# If `dist/` was different than expected, upload the expected version as a
65+
# workflow artifact.
5866
- if: ${{ failure() && steps.diff.outcome == 'failure' }}
5967
name: Upload Artifact
6068
id: upload

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Continuous Integration
22

33
on:
44
pull_request:
5+
branches:
6+
- main
57
push:
68
branches:
79
- main
@@ -51,7 +53,7 @@ jobs:
5153
id: checkout
5254
uses: actions/checkout@v4
5355

54-
- name: Test Local Action with Latest version
56+
- name: Test Local Action
5557
id: test-action-latest
5658
uses: ./
5759
with:
@@ -61,4 +63,4 @@ jobs:
6163
id: test-action-specific
6264
uses: ./
6365
with:
64-
version: v0.0.18
66+
version: v0.5.14

.github/workflows/codeql-analysis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
name: CodeQL
22

33
on:
4-
push:
4+
pull_request:
55
branches:
66
- main
7-
pull_request:
7+
push:
88
branches:
99
- main
1010
schedule:
1111
- cron: '31 7 * * 3'
1212

13+
permissions:
14+
actions: read
15+
checks: write
16+
contents: read
17+
security-events: write
18+
1319
jobs:
1420
analyze:
1521
name: Analyze
1622
runs-on: ubuntu-latest
1723

18-
permissions:
19-
actions: read
20-
checks: write
21-
contents: read
22-
security-events: write
23-
2424
strategy:
2525
fail-fast: false
2626
matrix:

.github/workflows/linter.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Lint Codebase
22

33
on:
44
pull_request:
5+
branches:
6+
- main
57
push:
68
branches:
79
- main
@@ -20,6 +22,8 @@ jobs:
2022
- name: Checkout
2123
id: checkout
2224
uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
2327

2428
- name: Setup Node.js
2529
id: setup-node
@@ -34,12 +38,16 @@ jobs:
3438

3539
- name: Lint Codebase
3640
id: super-linter
37-
uses: super-linter/super-linter/slim@v5
41+
uses: super-linter/super-linter/slim@v7
3842
env:
3943
DEFAULT_BRANCH: main
4044
FILTER_REGEX_EXCLUDE: dist/**/*
4145
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
TYPESCRIPT_DEFAULT_STYLE: prettier
46+
LINTER_RULES_PATH: ${{ github.workspace }}
4347
VALIDATE_ALL_CODEBASE: true
48+
VALIDATE_JAVASCRIPT_ES: false
4449
VALIDATE_JAVASCRIPT_STANDARD: false
4550
VALIDATE_JSCPD: false
51+
VALIDATE_TYPESCRIPT_ES: false
52+
VALIDATE_JSON: false
53+
VALIDATE_TYPESCRIPT_STANDARD: false

.github/workflows/update-main-version.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)