-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1463 from Esri/ch/update-readme
Updated supported item types
- Loading branch information
Showing
9 changed files
with
58 additions
and
88 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
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Code Coverage | ||
|
||
on: | ||
push: | ||
branches: [ develop, master ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ develop, master ] | ||
|
||
jobs: | ||
steps: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "21" | ||
|
||
- name: Install Node.js dependencies | ||
run: npm ci --ignore-scripts | ||
|
||
- name: Build | ||
run: npm run build | ||
|
||
- name: Test in Chrome | ||
run: npm run test:chrome:ci | ||
|
||
- uses: codecov/codecov-action@v4 | ||
with: | ||
directory: ./coverage | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
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
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
This file was deleted.
Oops, something went wrong.
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,41 +1,33 @@ | ||
name: PR Tests | ||
name: Code Coverage | ||
|
||
# Only run on non-draft PRs, and when PRs are synched | ||
on: | ||
push: | ||
branches: [ develop, master ] | ||
pull_request: | ||
types: [opened, reopened, ready_for_review, synchronize] | ||
# Dont run if it's just markdown or doc files | ||
paths-ignore: | ||
- "**.md" | ||
- "docs/**" | ||
- "guides/**" | ||
- "scripts/**" | ||
- "support/**" | ||
jobs: | ||
build: | ||
if: github.event.pull_request.draft == false | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [21] | ||
# The branches below must be a subset of the branches above | ||
branches: [ develop, master ] | ||
|
||
jobs: | ||
steps: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
node-version: "21" | ||
|
||
- name: Install Dependencies | ||
run: npm install | ||
- name: Install Node.js dependencies | ||
run: npm ci --ignore-scripts | ||
|
||
- name: Build | ||
run: npm run build | ||
|
||
- name: Test in Chrome | ||
run: npm run test:chrome:ci | ||
|
||
- uses: codecov/codecov-action@v4 | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
directory: ./coverage | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
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
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
This file was deleted.
Oops, something went wrong.