-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
52,696 additions
and
52,421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
version: 2 | ||
|
||
updates: | ||
# Enable version updates for npm | ||
- package-ecosystem: "npm" | ||
# Look for `package.json` and `lock` files in the `root` directory | ||
directory: "/" | ||
# Check the npm registry for updates every day (weekdays) | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
# Enable version updates for npm | ||
- package-ecosystem: 'npm' | ||
# Look for `package.json` and `lock` files in the `root` directory | ||
directory: '/' | ||
# Check the npm registry for updates every day (weekdays) | ||
schedule: | ||
interval: 'weekly' | ||
- package-ecosystem: 'github-actions' | ||
directory: '/' | ||
schedule: | ||
interval: 'daily' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
name: Check Links | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
|
||
jobs: | ||
linkChecker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.2.1 | ||
linkChecker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.2.1 | ||
|
||
- name: Link Checker | ||
uses: lycheeverse/lychee-action@v1.8.0 | ||
with: | ||
fail: true | ||
- name: Link Checker | ||
uses: lycheeverse/lychee-action@v1.8.0 | ||
with: | ||
fail: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
name: Continuous Integration Main | ||
on: | ||
push: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
permissions: read-all | ||
|
||
jobs: | ||
unit-tests: | ||
runs-on: ubuntu-latest | ||
permissions: read-all | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.2.1 | ||
- uses: actions/setup-node@v4.0.3 | ||
with: | ||
node-version: '18' | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run version:check | ||
- name: Lint code | ||
run: npm run lint | ||
- name: Lint docs | ||
run: npm run lint:markdown | ||
- name: Transpile code | ||
run: npm run compile | ||
- name: Unit test | ||
run: npm run test:unit:ci | ||
unit-tests: | ||
runs-on: ubuntu-latest | ||
permissions: read-all | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.2.1 | ||
- uses: actions/setup-node@v4.0.3 | ||
with: | ||
node-version: '18' | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run version:check | ||
- name: Lint code | ||
run: npm run lint | ||
- name: Lint docs | ||
run: npm run lint:markdown | ||
- name: Transpile code | ||
run: npm run compile | ||
- name: Unit test | ||
run: npm run test:unit:ci | ||
|
||
local-integration-tests: | ||
runs-on: ubuntu-latest | ||
permissions: read-all | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
browser: [headlessChrome, headlessFirefox] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.2.1 | ||
- uses: actions/setup-node@v4.0.3 | ||
with: | ||
node-version: '18' | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run compile | ||
- name: Local integration tests using ${{ matrix.browser }} | ||
run: npm run test:integration:local:${{ matrix.browser }}:_execute | ||
local-integration-tests: | ||
runs-on: ubuntu-latest | ||
permissions: read-all | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
browser: [headlessChrome, headlessFirefox] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.2.1 | ||
- uses: actions/setup-node@v4.0.3 | ||
with: | ||
node-version: '18' | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run compile | ||
- name: Local integration tests using ${{ matrix.browser }} | ||
run: npm run test:integration:local:${{ matrix.browser }}:_execute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,88 @@ | ||
name: Continuous Integration | ||
on: | ||
pull_request: | ||
pull_request: | ||
permissions: read-all | ||
|
||
jobs: | ||
unit-tests: | ||
runs-on: ubuntu-latest | ||
permissions: read-all | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.2.1 | ||
- uses: actions/setup-node@v4.0.3 | ||
with: | ||
node-version: '18' | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run version:check | ||
- name: Lint code | ||
run: npm run lint | ||
- name: Lint docs | ||
run: npm run lint:markdown | ||
- name: Transpile code | ||
run: npm run compile | ||
- name: Unit test | ||
run: npm run test:unit:ci | ||
- name: Unit test (nodejs) | ||
run: npm run test:unit:ci-node | ||
unit-tests: | ||
runs-on: ubuntu-latest | ||
permissions: read-all | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.2.1 | ||
- uses: actions/setup-node@v4.0.3 | ||
with: | ||
node-version: '18' | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run version:check | ||
- name: Lint code | ||
run: npm run lint | ||
- name: Lint docs | ||
run: npm run lint:markdown | ||
- name: Transpile code | ||
run: npm run compile | ||
- name: Unit test | ||
run: npm run test:unit:ci | ||
- name: Unit test (nodejs) | ||
run: npm run test:unit:ci-node | ||
|
||
saucelabs-integration-tests: | ||
runs-on: ubuntu-latest | ||
permissions: read-all | ||
environment: integration | ||
env: | ||
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} | ||
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} | ||
SAUCE_TUNNEL_ID: ${{ secrets.SAUCE_TUNNEL_ID }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
browser: [edge] | ||
steps: | ||
- name: Setup sauce connect | ||
uses: saucelabs/sauce-connect-action@v2.3.4 | ||
with: | ||
username: ${{ secrets.SAUCE_USERNAME }} | ||
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} | ||
tunnelName: ${{ secrets.SAUCE_TUNNEL_ID }} | ||
- name: Checkout | ||
uses: actions/checkout@v4.2.1 | ||
- uses: actions/setup-node@v4.0.3 | ||
with: | ||
node-version: '18' | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run compile | ||
- name: Add to hosts file | ||
run: echo "127.0.0.1 local.test" | sudo tee -a /etc/hosts | ||
- name: Run integration tests in Saucelabs | ||
run: npm run test:integration:remote -- --env ${{ matrix.browser }} | ||
timeout-minutes: 15 | ||
saucelabs-integration-tests: | ||
runs-on: ubuntu-latest | ||
permissions: read-all | ||
environment: integration | ||
env: | ||
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} | ||
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} | ||
SAUCE_TUNNEL_ID: ${{ secrets.SAUCE_TUNNEL_ID }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
browser: [edge] | ||
steps: | ||
- name: Setup sauce connect | ||
uses: saucelabs/sauce-connect-action@v2.3.4 | ||
with: | ||
username: ${{ secrets.SAUCE_USERNAME }} | ||
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} | ||
tunnelName: ${{ secrets.SAUCE_TUNNEL_ID }} | ||
- name: Checkout | ||
uses: actions/checkout@v4.2.1 | ||
- uses: actions/setup-node@v4.0.3 | ||
with: | ||
node-version: '18' | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run compile | ||
- name: Add to hosts file | ||
run: echo "127.0.0.1 local.test" | sudo tee -a /etc/hosts | ||
- name: Run integration tests in Saucelabs | ||
run: npm run test:integration:remote -- --env ${{ matrix.browser }} | ||
timeout-minutes: 15 | ||
|
||
local-integration-tests: | ||
runs-on: ubuntu-latest | ||
permissions: read-all | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
browser: [headlessChrome, headlessFirefox] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.2.1 | ||
- uses: actions/setup-node@v4.0.3 | ||
with: | ||
node-version: '18' | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run compile | ||
- name: Local integration tests using ${{ matrix.browser }} | ||
run: npm run test:integration:local:${{ matrix.browser }}:_execute | ||
- name: Upload test logs | ||
uses: actions/upload-artifact@v3.1.2 | ||
if: ${{ failure() }} | ||
with: | ||
name: test-results ${{ matrix.browser }} | ||
path: | | ||
packages/web/tests_output/ | ||
packages/web/logs/ | ||
local-integration-tests: | ||
runs-on: ubuntu-latest | ||
permissions: read-all | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
browser: [headlessChrome, headlessFirefox] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.2.1 | ||
- uses: actions/setup-node@v4.0.3 | ||
with: | ||
node-version: '18' | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run compile | ||
- name: Local integration tests using ${{ matrix.browser }} | ||
run: npm run test:integration:local:${{ matrix.browser }}:_execute | ||
- name: Upload test logs | ||
uses: actions/upload-artifact@v3.1.2 | ||
if: ${{ failure() }} | ||
with: | ||
name: test-results ${{ matrix.browser }} | ||
path: | | ||
packages/web/tests_output/ | ||
packages/web/logs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
name: "CLA Assistant" | ||
name: 'CLA Assistant' | ||
on: | ||
issue_comment: | ||
types: [created] | ||
pull_request_target: | ||
types: [opened, closed, synchronize] | ||
issue_comment: | ||
types: [created] | ||
pull_request_target: | ||
types: [opened, closed, synchronize] | ||
|
||
permissions: | ||
actions: write | ||
contents: read | ||
pull-requests: write | ||
statuses: write | ||
actions: write | ||
contents: read | ||
pull-requests: write | ||
statuses: write | ||
|
||
jobs: | ||
ContributorLicenseAgreement: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "CLA Assistant" | ||
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' | ||
uses: cla-assistant/github-action@v2.3.1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }} | ||
with: | ||
remote-organization-name: splunk | ||
remote-repository-name: cla-agreement | ||
branch: main | ||
path-to-signatures: signatures/version1/cla.json | ||
path-to-document: https://github.com/splunk/cla-agreement/blob/main/CLA.md | ||
allowlist: dependabot[bot] | ||
ContributorLicenseAgreement: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'CLA Assistant' | ||
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' | ||
uses: cla-assistant/github-action@v2.3.1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }} | ||
with: | ||
remote-organization-name: splunk | ||
remote-repository-name: cla-agreement | ||
branch: main | ||
path-to-signatures: signatures/version1/cla.json | ||
path-to-document: https://github.com/splunk/cla-agreement/blob/main/CLA.md | ||
allowlist: dependabot[bot] |
Oops, something went wrong.