@xcelera/cli 1.2.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/action.js +59 -18
  2. package/dist/action.js.map +1 -1
  3. package/dist/cli.js +348 -0
  4. package/dist/cli.js.map +1 -0
  5. package/package.json +9 -4
  6. package/.commitlintrc.json +0 -3
  7. package/.devcontainer/devcontainer.json +0 -41
  8. package/.env.example +0 -61
  9. package/.gitattributes +0 -3
  10. package/.github/dependabot.yml +0 -30
  11. package/.github/workflows/check-dist.yml +0 -72
  12. package/.github/workflows/ci.yml +0 -70
  13. package/.github/workflows/codeql-analysis.yml +0 -48
  14. package/.github/workflows/licensed.yml +0 -74
  15. package/.github/workflows/linter.yml +0 -53
  16. package/.github/workflows/release.yml +0 -53
  17. package/.licensed.yml +0 -18
  18. package/.licenses/npm/@actions/core.dep.yml +0 -20
  19. package/.licenses/npm/@actions/exec.dep.yml +0 -20
  20. package/.licenses/npm/@actions/http-client.dep.yml +0 -32
  21. package/.licenses/npm/@actions/io.dep.yml +0 -20
  22. package/.licenses/npm/@fastify/busboy.dep.yml +0 -30
  23. package/.licenses/npm/tunnel.dep.yml +0 -35
  24. package/.licenses/npm/undici.dep.yml +0 -34
  25. package/.markdown-lint.yml +0 -24
  26. package/.node-version +0 -1
  27. package/.nvmrc +0 -1
  28. package/.prettierignore +0 -5
  29. package/.prettierrc.yml +0 -16
  30. package/.vscode/launch.json +0 -15
  31. package/.yaml-lint.yml +0 -14
  32. package/CODEOWNERS +0 -7
  33. package/action.yml +0 -29
  34. package/badges/coverage.svg +0 -1
  35. package/eslint.config.mjs +0 -81
  36. package/jest.config.js +0 -40
  37. package/release.config.mjs +0 -12
  38. package/rollup.config.ts +0 -30
  39. package/script/release +0 -133
  40. package/src/action.ts +0 -35
  41. package/src/api.ts +0 -46
  42. package/src/cli.ts +0 -79
  43. package/src/git.ts +0 -66
  44. package/src/types/git.ts +0 -5
  45. package/src/types/parse-github-url.d.ts +0 -12
  46. package/tsconfig.base.json +0 -23
  47. package/tsconfig.eslint.json +0 -18
  48. package/tsconfig.json +0 -11
@@ -1,70 +0,0 @@
1
- name: Continuous Integration
2
-
3
- on:
4
- pull_request:
5
- branches:
6
- - main
7
- push:
8
- branches:
9
- - main
10
-
11
- permissions:
12
- contents: read
13
-
14
- jobs:
15
- test-typescript:
16
- name: TypeScript Tests
17
- runs-on: ubuntu-latest
18
-
19
- steps:
20
- - name: Checkout
21
- id: checkout
22
- uses: actions/checkout@v4
23
-
24
- - name: Setup Node.js
25
- id: setup-node
26
- uses: actions/setup-node@v4
27
- with:
28
- node-version-file: .node-version
29
- cache: npm
30
-
31
- - name: Install Dependencies
32
- id: npm-ci
33
- run: npm ci
34
-
35
- - name: Check Format
36
- id: npm-format-check
37
- run: npm run format:check
38
-
39
- - name: Lint
40
- id: npm-lint
41
- run: npm run lint
42
-
43
- - name: Test
44
- id: npm-ci-test
45
- run: npm run ci-test
46
-
47
- test-action:
48
- name: GitHub Actions Test
49
- runs-on: ubuntu-latest
50
- permissions:
51
- contents: write # to be able to publish a GitHub release
52
- issues: write # to be able to comment on released issues
53
- pull-requests: write # to be able to comment on released pull requests
54
- id-token: write # to enable use of OIDC for npm provenance
55
-
56
- steps:
57
- - name: Checkout
58
- id: checkout
59
- uses: actions/checkout@v4
60
-
61
- - name: Test Local Action
62
- id: test-action
63
- uses: ./
64
- with:
65
- url: https://xcelera.dev
66
- token: ${{ secrets.XCELERA_TOKEN }}
67
-
68
- - name: Print Output
69
- id: output
70
- run: echo "${{ steps.test-action.outputs.status }}"
@@ -1,48 +0,0 @@
1
- name: CodeQL
2
-
3
- on:
4
- pull_request:
5
- branches:
6
- - main
7
- push:
8
- branches:
9
- - main
10
- schedule:
11
- - cron: '31 7 * * 3'
12
-
13
- permissions:
14
- actions: read
15
- checks: write
16
- contents: read
17
- security-events: write
18
-
19
- jobs:
20
- analyze:
21
- name: Analyze
22
- runs-on: ubuntu-latest
23
-
24
- strategy:
25
- fail-fast: false
26
- matrix:
27
- language:
28
- - TypeScript
29
-
30
- steps:
31
- - name: Checkout
32
- id: checkout
33
- uses: actions/checkout@v4
34
-
35
- - name: Initialize CodeQL
36
- id: initialize
37
- uses: github/codeql-action/init@v3
38
- with:
39
- languages: ${{ matrix.language }}
40
- source-root: src
41
-
42
- - name: Autobuild
43
- id: autobuild
44
- uses: github/codeql-action/autobuild@v3
45
-
46
- - name: Perform CodeQL Analysis
47
- id: analyze
48
- uses: github/codeql-action/analyze@v3
@@ -1,74 +0,0 @@
1
- # This workflow checks the statuses of cached dependencies used in this action
2
- # with the help of the Licensed tool. If any licenses are invalid or missing,
3
- # this workflow will fail. See: https://github.com/licensee/licensed
4
-
5
- name: Licensed
6
-
7
- on:
8
- # Uncomment the below lines to run this workflow on pull requests and pushes
9
- # to the default branch. This is useful for checking licenses before merging
10
- # changes into the default branch.
11
- # pull_request:
12
- # branches:
13
- # - main
14
- # push:
15
- # branches:
16
- # - main
17
- workflow_dispatch:
18
-
19
- permissions:
20
- contents: write
21
-
22
- jobs:
23
- licensed:
24
- name: Check Licenses
25
- runs-on: ubuntu-latest
26
-
27
- steps:
28
- - name: Checkout
29
- id: checkout
30
- uses: actions/checkout@v4
31
-
32
- - name: Setup Node.js
33
- id: setup-node
34
- uses: actions/setup-node@v4
35
- with:
36
- node-version-file: .node-version
37
- cache: npm
38
-
39
- - name: Install Dependencies
40
- id: npm-ci
41
- run: npm ci
42
-
43
- - name: Setup Ruby
44
- id: setup-ruby
45
- uses: ruby/setup-ruby@v1
46
- with:
47
- ruby-version: ruby
48
-
49
- - uses: licensee/setup-licensed@v1.3.2
50
- with:
51
- version: 4.x
52
- github_token: ${{ secrets.GITHUB_TOKEN }}
53
-
54
- # If this is a workflow_dispatch event, update the cached licenses.
55
- - if: ${{ github.event_name == 'workflow_dispatch' }}
56
- name: Update Licenses
57
- id: update-licenses
58
- run: licensed cache
59
-
60
- # Then, commit the updated licenses to the repository.
61
- - if: ${{ github.event_name == 'workflow_dispatch' }}
62
- name: Commit Licenses
63
- id: commit-licenses
64
- run: |
65
- git config --local user.email "licensed-ci@users.noreply.github.com"
66
- git config --local user.name "licensed-ci"
67
- git add .
68
- git commit -m "Auto-update license files"
69
- git push
70
-
71
- # Last, check the status of the cached licenses.
72
- - name: Check Licenses
73
- id: check-licenses
74
- run: licensed status
@@ -1,53 +0,0 @@
1
- name: Lint Codebase
2
-
3
- on:
4
- pull_request:
5
- branches:
6
- - main
7
- push:
8
- branches:
9
- - main
10
-
11
- permissions:
12
- contents: read
13
- packages: read
14
- statuses: write
15
-
16
- jobs:
17
- lint:
18
- name: Lint Codebase
19
- runs-on: ubuntu-latest
20
-
21
- steps:
22
- - name: Checkout
23
- id: checkout
24
- uses: actions/checkout@v4
25
- with:
26
- fetch-depth: 0
27
-
28
- - name: Setup Node.js
29
- id: setup-node
30
- uses: actions/setup-node@v4
31
- with:
32
- node-version-file: .node-version
33
- cache: npm
34
-
35
- - name: Install Dependencies
36
- id: install
37
- run: npm ci
38
-
39
- - name: Lint Codebase
40
- id: super-linter
41
- uses: super-linter/super-linter/slim@v7
42
- env:
43
- DEFAULT_BRANCH: main
44
- FILTER_REGEX_EXCLUDE: dist/**/*
45
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46
- LINTER_RULES_PATH: ${{ github.workspace }}
47
- VALIDATE_ALL_CODEBASE: true
48
- VALIDATE_JAVASCRIPT_ES: false
49
- VALIDATE_JAVASCRIPT_STANDARD: false
50
- VALIDATE_JSCPD: false
51
- VALIDATE_TYPESCRIPT_ES: false
52
- VALIDATE_JSON: false
53
- VALIDATE_TYPESCRIPT_STANDARD: false
@@ -1,53 +0,0 @@
1
- name: Release
2
-
3
- on:
4
- pull_request:
5
- branches:
6
- - main
7
- push:
8
- branches:
9
- - main
10
- workflow_run:
11
- workflows: [Continuous Integration]
12
- types: [completed]
13
-
14
- permissions:
15
- contents: read
16
-
17
- jobs:
18
- release:
19
- name: Release
20
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
21
- runs-on: ubuntu-latest
22
- permissions:
23
- contents: write # to be able to publish a GitHub release
24
- issues: write # to be able to comment on released issues
25
- pull-requests: write # to be able to comment on released pull requests
26
- id-token: write # to enable use of OIDC for npm provenance
27
-
28
- steps:
29
- - name: Checkout
30
- uses: actions/checkout@v4
31
- with:
32
- fetch-depth: 0
33
-
34
- - name: Setup Node.js
35
- id: setup-node
36
- uses: actions/setup-node@v4
37
- with:
38
- node-version-file: .node-version
39
- cache: npm
40
-
41
- - name: Install dependencies
42
- run: npm clean-install
43
-
44
- - name:
45
- Verify the integrity of provenance attestations and registry
46
- signatures for installed dependencies
47
- run: npm audit signatures
48
-
49
- - name: Release
50
- env:
51
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
53
- run: npx semantic-release
package/.licensed.yml DELETED
@@ -1,18 +0,0 @@
1
- # See: https://github.com/licensee/licensed/blob/main/docs/configuration.md
2
-
3
- sources:
4
- npm: true
5
-
6
- allowed:
7
- - apache-2.0
8
- - bsd-2-clause
9
- - bsd-3-clause
10
- - isc
11
- - mit
12
- - cc0-1.0
13
- - other
14
-
15
- ignored:
16
- npm:
17
- # Used by Rollup.js when building in GitHub Actions
18
- - '@rollup/rollup-linux-x64-gnu'
@@ -1,20 +0,0 @@
1
- ---
2
- name: "@actions/core"
3
- version: 1.11.1
4
- type: npm
5
- summary: Actions core lib
6
- homepage: https://github.com/actions/toolkit/tree/main/packages/core
7
- license: mit
8
- licenses:
9
- - sources: LICENSE.md
10
- text: |-
11
- The MIT License (MIT)
12
-
13
- Copyright 2019 GitHub
14
-
15
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
18
-
19
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- notices: []
@@ -1,20 +0,0 @@
1
- ---
2
- name: "@actions/exec"
3
- version: 1.1.1
4
- type: npm
5
- summary: Actions exec lib
6
- homepage: https://github.com/actions/toolkit/tree/main/packages/exec
7
- license: mit
8
- licenses:
9
- - sources: LICENSE.md
10
- text: |-
11
- The MIT License (MIT)
12
-
13
- Copyright 2019 GitHub
14
-
15
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
18
-
19
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- notices: []
@@ -1,32 +0,0 @@
1
- ---
2
- name: "@actions/http-client"
3
- version: 2.2.3
4
- type: npm
5
- summary: Actions Http Client
6
- homepage: https://github.com/actions/toolkit/tree/main/packages/http-client
7
- license: other
8
- licenses:
9
- - sources: LICENSE
10
- text: |
11
- Actions Http Client for Node.js
12
-
13
- Copyright (c) GitHub, Inc.
14
-
15
- All rights reserved.
16
-
17
- MIT License
18
-
19
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
20
- associated documentation files (the "Software"), to deal in the Software without restriction,
21
- including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
22
- and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
23
- subject to the following conditions:
24
-
25
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
26
-
27
- THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
28
- LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
29
- NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
30
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
31
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32
- notices: []
@@ -1,20 +0,0 @@
1
- ---
2
- name: "@actions/io"
3
- version: 1.1.3
4
- type: npm
5
- summary: Actions io lib
6
- homepage: https://github.com/actions/toolkit/tree/main/packages/io
7
- license: mit
8
- licenses:
9
- - sources: LICENSE.md
10
- text: |-
11
- The MIT License (MIT)
12
-
13
- Copyright 2019 GitHub
14
-
15
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
18
-
19
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- notices: []
@@ -1,30 +0,0 @@
1
- ---
2
- name: "@fastify/busboy"
3
- version: 2.1.1
4
- type: npm
5
- summary: A streaming parser for HTML form data for node.js
6
- homepage:
7
- license: mit
8
- licenses:
9
- - sources: LICENSE
10
- text: |-
11
- Copyright Brian White. All rights reserved.
12
-
13
- Permission is hereby granted, free of charge, to any person obtaining a copy
14
- of this software and associated documentation files (the "Software"), to
15
- deal in the Software without restriction, including without limitation the
16
- rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
17
- sell copies of the Software, and to permit persons to whom the Software is
18
- furnished to do so, subject to the following conditions:
19
-
20
- The above copyright notice and this permission notice shall be included in
21
- all copies or substantial portions of the Software.
22
-
23
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
29
- IN THE SOFTWARE.
30
- notices: []
@@ -1,35 +0,0 @@
1
- ---
2
- name: tunnel
3
- version: 0.0.6
4
- type: npm
5
- summary: Node HTTP/HTTPS Agents for tunneling proxies
6
- homepage: https://github.com/koichik/node-tunnel/
7
- license: mit
8
- licenses:
9
- - sources: LICENSE
10
- text: |
11
- The MIT License (MIT)
12
-
13
- Copyright (c) 2012 Koichi Kobayashi
14
-
15
- Permission is hereby granted, free of charge, to any person obtaining a copy
16
- of this software and associated documentation files (the "Software"), to deal
17
- in the Software without restriction, including without limitation the rights
18
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19
- copies of the Software, and to permit persons to whom the Software is
20
- furnished to do so, subject to the following conditions:
21
-
22
- The above copyright notice and this permission notice shall be included in
23
- all copies or substantial portions of the Software.
24
-
25
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
31
- THE SOFTWARE.
32
- - sources: README.md
33
- text: Licensed under the [MIT](https://github.com/koichik/node-tunnel/blob/master/LICENSE)
34
- license.
35
- notices: []
@@ -1,34 +0,0 @@
1
- ---
2
- name: undici
3
- version: 5.28.5
4
- type: npm
5
- summary: An HTTP/1.1 client, written from scratch for Node.js
6
- homepage: https://undici.nodejs.org
7
- license: mit
8
- licenses:
9
- - sources: LICENSE
10
- text: |
11
- MIT License
12
-
13
- Copyright (c) Matteo Collina and Undici contributors
14
-
15
- Permission is hereby granted, free of charge, to any person obtaining a copy
16
- of this software and associated documentation files (the "Software"), to deal
17
- in the Software without restriction, including without limitation the rights
18
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19
- copies of the Software, and to permit persons to whom the Software is
20
- furnished to do so, subject to the following conditions:
21
-
22
- The above copyright notice and this permission notice shall be included in all
23
- copies or substantial portions of the Software.
24
-
25
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31
- SOFTWARE.
32
- - sources: README.md
33
- text: MIT
34
- notices: []
@@ -1,24 +0,0 @@
1
- # See: https://github.com/DavidAnson/markdownlint
2
-
3
- # Unordered list style
4
- MD004:
5
- style: dash
6
-
7
- # Disable line length for tables
8
- MD013:
9
- tables: false
10
-
11
- # Ordered list item prefix
12
- MD029:
13
- style: one
14
-
15
- # Spaces after list markers
16
- MD030:
17
- ul_single: 1
18
- ol_single: 1
19
- ul_multi: 1
20
- ol_multi: 1
21
-
22
- # Code block style
23
- MD046:
24
- style: fenced
package/.node-version DELETED
@@ -1 +0,0 @@
1
- 20.18.1
package/.nvmrc DELETED
@@ -1 +0,0 @@
1
- 20.18.1
package/.prettierignore DELETED
@@ -1,5 +0,0 @@
1
- .DS_Store
2
- .licenses/
3
- dist/
4
- node_modules/
5
- coverage/
package/.prettierrc.yml DELETED
@@ -1,16 +0,0 @@
1
- # See: https://prettier.io/docs/en/configuration
2
-
3
- printWidth: 80
4
- tabWidth: 2
5
- useTabs: false
6
- semi: false
7
- singleQuote: true
8
- quoteProps: as-needed
9
- jsxSingleQuote: false
10
- trailingComma: none
11
- bracketSpacing: true
12
- bracketSameLine: true
13
- arrowParens: always
14
- proseWrap: always
15
- htmlWhitespaceSensitivity: css
16
- endOfLine: lf
@@ -1,15 +0,0 @@
1
- {
2
- "version": "0.2.0",
3
- "configurations": [
4
- {
5
- "name": "Debug Action",
6
- "type": "node",
7
- "request": "launch",
8
- "runtimeExecutable": "npx",
9
- "cwd": "${workspaceRoot}",
10
- "args": ["@github/local-action", ".", "src/action.ts", ".env"],
11
- "console": "integratedTerminal",
12
- "skipFiles": ["<node_internals>/**", "node_modules/**"]
13
- }
14
- ]
15
- }
package/.yaml-lint.yml DELETED
@@ -1,14 +0,0 @@
1
- # See: https://yamllint.readthedocs.io/en/stable/
2
-
3
- rules:
4
- document-end: disable
5
- document-start:
6
- level: warning
7
- present: false
8
- line-length:
9
- level: warning
10
- max: 80
11
- allow-non-breakable-words: true
12
- allow-non-breakable-inline-mappings: true
13
- ignore:
14
- - .licenses/
package/CODEOWNERS DELETED
@@ -1,7 +0,0 @@
1
- ############################################################################
2
- # Repository CODEOWNERS #
3
- # Order is important! The last matching pattern takes the most precedence. #
4
- ############################################################################
5
-
6
- # Default owners, unless a later match takes precedence.
7
- * @ztsmith
package/action.yml DELETED
@@ -1,29 +0,0 @@
1
- name: xcelera performance audit
2
- description:
3
- Perform a performance audit of a web page using Xcelera's Lighthouse testing
4
- service
5
- author: xcelera.dev
6
-
7
- branding:
8
- icon: zap
9
- color: yellow
10
-
11
- inputs:
12
- url:
13
- description: The URL of the web page to audit
14
- required: true
15
- token:
16
- description: Xcelera API token for authentication
17
- required: true
18
-
19
- outputs:
20
- auditId:
21
- description: The ID of the scheduled test
22
- status:
23
- description: The status of the audit request (scheduled, failed)
24
- error:
25
- description: The error message if the audit request fails
26
-
27
- runs:
28
- using: node20
29
- main: dist/action.js
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="136" height="20" role="img" aria-label="Coverage: Unknown%"><title>Coverage: Unknown%</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="136" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="63" height="20" fill="#555"/><rect x="63" width="73" height="20" fill="#4c1"/><rect width="136" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="325" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="530">Coverage</text><text x="325" y="140" transform="scale(.1)" fill="#fff" textLength="530">Coverage</text><text aria-hidden="true" x="985" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="630">Unknown%</text><text x="985" y="140" transform="scale(.1)" fill="#fff" textLength="630">Unknown%</text></g></svg>