-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgraded to Node16 * Enforce Prettier * code fix * Update package-lock.json resolved the conflicts. * executed prettier Co-authored-by: Vidya Reddy <vidyareddy@microsoft.com>
- Loading branch information
Showing
20 changed files
with
11,908 additions
and
11,889 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 |
---|---|---|
|
@@ -4,7 +4,4 @@ about: Create a report to help us improve | |
title: '' | ||
labels: need-to-triage | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
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 |
---|---|---|
@@ -1,65 +1,65 @@ | ||
name: "Trigger Integration tests" | ||
name: 'Trigger Integration tests' | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- "releases/*" | ||
pull_request: | ||
branches: | ||
- main | ||
- 'releases/*' | ||
jobs: | ||
trigger-integration-tests: | ||
name: Trigger Integration tests | ||
runs-on: ubuntu-latest | ||
env: | ||
HELM_3_8_0: "v3.8.0" | ||
HELM_3_7_2: "v3.7.2" | ||
HELM_NO_V: "3.5.0" | ||
PR_BASE_REF: ${{ github.event.pull_request.base.ref }} | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
- name: npm install and build | ||
id: action-npm-build | ||
run: | | ||
echo $PR_BASE_REF | ||
if [[ $PR_BASE_REF != releases/* ]]; then | ||
npm install | ||
npm run build | ||
fi | ||
- name: Setup helm | ||
uses: ./ | ||
with: | ||
version: ${{ env.HELM_3_8_0 }} | ||
- name: Validate helm 3.8.0 | ||
run: | | ||
if [[ $(helm version) != *$HELM_3_8_0* ]]; then | ||
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.8.0" | ||
echo "HELM VERSION OUTPUT: $(helm version)" | ||
exit 1 | ||
else | ||
echo "HELM VERSION $HELM_3_8_0 INSTALLED SUCCESSFULLY" | ||
fi | ||
- name: Setup helm 3.7.2 | ||
uses: ./ | ||
with: | ||
version: ${{ env.HELM_3_7_2 }} | ||
- name: Validate 3.7.2 | ||
run: | | ||
if [[ $(helm version) != *$HELM_3_7_2* ]]; then | ||
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.7.2" | ||
echo "HELM VERSION OUTPUT: $(helm version)" | ||
exit 1 | ||
else | ||
echo "HELM VERSION $HELM_3_7_2 INSTALLED SUCCESSFULLY" | ||
fi | ||
- name: Setup helm 3.5.0 with no v in version | ||
uses: ./ | ||
with: | ||
version: ${{ env.HELM_NO_V }} | ||
- name: Validate 3.5.0 without v in version | ||
run: | | ||
if [[ $(helm version) != *$HELM_NO_V* ]]; then | ||
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.5.0" | ||
echo "HELM VERSION OUTPUT: $(helm version)" | ||
exit 1 | ||
else | ||
echo "HELM VERSION $HELM_3_5_0 INSTALLED SUCCESSFULLY" | ||
fi | ||
trigger-integration-tests: | ||
name: Trigger Integration tests | ||
runs-on: ubuntu-latest | ||
env: | ||
HELM_3_8_0: 'v3.8.0' | ||
HELM_3_7_2: 'v3.7.2' | ||
HELM_NO_V: '3.5.0' | ||
PR_BASE_REF: ${{ github.event.pull_request.base.ref }} | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
- name: npm install and build | ||
id: action-npm-build | ||
run: | | ||
echo $PR_BASE_REF | ||
if [[ $PR_BASE_REF != releases/* ]]; then | ||
npm install | ||
npm run build | ||
fi | ||
- name: Setup helm | ||
uses: ./ | ||
with: | ||
version: ${{ env.HELM_3_8_0 }} | ||
- name: Validate helm 3.8.0 | ||
run: | | ||
if [[ $(helm version) != *$HELM_3_8_0* ]]; then | ||
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.8.0" | ||
echo "HELM VERSION OUTPUT: $(helm version)" | ||
exit 1 | ||
else | ||
echo "HELM VERSION $HELM_3_8_0 INSTALLED SUCCESSFULLY" | ||
fi | ||
- name: Setup helm 3.7.2 | ||
uses: ./ | ||
with: | ||
version: ${{ env.HELM_3_7_2 }} | ||
- name: Validate 3.7.2 | ||
run: | | ||
if [[ $(helm version) != *$HELM_3_7_2* ]]; then | ||
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.7.2" | ||
echo "HELM VERSION OUTPUT: $(helm version)" | ||
exit 1 | ||
else | ||
echo "HELM VERSION $HELM_3_7_2 INSTALLED SUCCESSFULLY" | ||
fi | ||
- name: Setup helm 3.5.0 with no v in version | ||
uses: ./ | ||
with: | ||
version: ${{ env.HELM_NO_V }} | ||
- name: Validate 3.5.0 without v in version | ||
run: | | ||
if [[ $(helm version) != *$HELM_NO_V* ]]; then | ||
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.5.0" | ||
echo "HELM VERSION OUTPUT: $(helm version)" | ||
exit 1 | ||
else | ||
echo "HELM VERSION $HELM_3_5_0 INSTALLED SUCCESSFULLY" | ||
fi |
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,18 @@ | ||
name: 'Run prettify' | ||
on: | ||
pull_request: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
prettier: | ||
name: Prettier Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Enforce Prettier | ||
uses: actionsx/prettier@v2 | ||
with: | ||
args: --check . |
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 @@ | ||
name: Create release PR | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
release: | ||
description: "Define release version (ex: v1, v2, v3)" | ||
required: true | ||
workflow_dispatch: | ||
inputs: | ||
release: | ||
description: 'Define release version (ex: v1, v2, v3)' | ||
required: true | ||
|
||
jobs: | ||
release-pr: | ||
uses: OliverMKing/javascript-release-workflow/.github/workflows/release-pr.yml@main | ||
with: | ||
release: ${{ github.event.inputs.release }} | ||
release-pr: | ||
uses: OliverMKing/javascript-release-workflow/.github/workflows/release-pr.yml@main | ||
with: | ||
release: ${{ github.event.inputs.release }} |
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,10 +1,10 @@ | ||
name: Tag and create release draft | ||
|
||
on: | ||
push: | ||
branches: | ||
- releases/* | ||
push: | ||
branches: | ||
- releases/* | ||
|
||
jobs: | ||
tag-and-release: | ||
uses: OliverMKing/javascript-release-workflow/.github/workflows/tag-and-release.yml@main | ||
tag-and-release: | ||
uses: OliverMKing/javascript-release-workflow/.github/workflows/tag-and-release.yml@main |
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,21 +1,21 @@ | ||
name: "Run unit tests." | ||
name: 'Run unit tests.' | ||
on: # rebuild any PRs and main branch changes | ||
pull_request: | ||
branches: | ||
- main | ||
- "releases/*" | ||
push: | ||
branches: | ||
- main | ||
- "releases/*" | ||
pull_request: | ||
branches: | ||
- main | ||
- 'releases/*' | ||
push: | ||
branches: | ||
- main | ||
- 'releases/*' | ||
|
||
jobs: | ||
build: # make sure build/ci works properly | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
build: # make sure build/ci works properly | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Run L0 tests. | ||
run: | | ||
npm install | ||
npm test | ||
- name: Run L0 tests. | ||
run: | | ||
npm install | ||
npm test |
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,4 @@ | ||
# dependencies | ||
/node_modules | ||
coverage | ||
/lib |
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,8 @@ | ||
{ | ||
"trailingComma": "none", | ||
"bracketSpacing": false, | ||
"semi": false, | ||
"tabWidth": 3, | ||
"singleQuote": true, | ||
"printWidth": 80 | ||
} |
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,9 +1,9 @@ | ||
# Microsoft Open Source Code of Conduct | ||
|
||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). | ||
|
||
Resources: | ||
|
||
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) | ||
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) | ||
- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns | ||
# Microsoft Open Source Code of Conduct | ||
|
||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). | ||
|
||
Resources: | ||
|
||
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) | ||
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) | ||
- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns |
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
Oops, something went wrong.