Skip to content

Commit

Permalink
#1020: merge develop
Browse files Browse the repository at this point in the history
  • Loading branch information
phjulia committed Oct 7, 2023
2 parents acd558f + 6fd5b63 commit 4165dd2
Show file tree
Hide file tree
Showing 288 changed files with 35,068 additions and 12,995 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"plugin:prettier/recommended",
"plugin:unicorn/recommended"
],
"plugins": [],
"plugins": ["prettier"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
Expand Down
12 changes: 12 additions & 0 deletions .fork/custom-commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,17 @@
"type": "url",
"url": "https://github.com/Accenture/sfmc-devtools/compare/hotfix...$shortname?expand=1"
}
},
{
"name": "Create Release-PR to master branch",
"target": "ref",
"refTargets": [
"localbranch",
"remotebranch"
],
"action": {
"type": "url",
"url": "https://github.com/Accenture/sfmc-devtools/compare/main...$shortname?expand=1&template=pr_template_release.md"
}
}
]
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ body:
label: Version
description: What version of our software are you running? (mcdev --version)
options:
- 5.3.0
- 5.2.0
- 5.1.0
- 5.0.2
- 5.0.1
Expand Down
19 changes: 19 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pr_template_release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Release details

## Checklist

- [ ] Wiki updated with info in ticket listed under **Documentation**
- [ ] ran `npm audit fix`
- [ ] ran task version:major/minor/patch
- [ ] updated [bug template](/.github/ISSUE_TEMPLATE/bug.yml) to include the new version
- [ ] updated [.mcdevrc](/test/mockRoot/.mcdevrc.json) to the new version
- [ ] (after merge) moved version tag to merge commit
- [ ] created [new GitHub Release](https://github.com/Accenture/sfmc-devtools/releases/new)

## Documentation

- closes #123456

## Issues

- closes #1234567
2 changes: 1 addition & 1 deletion .github/workflows/code-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-base-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Test and report
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 1000
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/coverage-develop-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Test and upload coverage
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.ref }}
fetch-depth: 1000
Expand All @@ -26,14 +26,12 @@ jobs:

- run: npm ci --ignore-scripts

- run: npm run lint

- name: Run mcdev-tests with coverage
run: npm run coverage

- name: Prepare for Report Coverage (mini)
run: |
npx nyc report --reporter json-summary --exclude-after-remap false
npx c8 report --reporter json-summary --exclude-after-remap false
- name: Upload coverage artifact
uses: actions/upload-artifact@v3
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/coverage-main-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Test and upload coverage
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.ref }}
fetch-depth: 1000
Expand All @@ -26,14 +26,12 @@ jobs:

- run: npm ci --ignore-scripts

- run: npm run lint

- name: Run mcdev-tests with coverage
run: npm run coverage

- name: Prepare for Report Coverage (mini)
run: |
npx nyc report --reporter json-summary --exclude-after-remap false
npx c8 report --reporter json-summary --exclude-after-remap false
- name: Upload coverage artifact
uses: actions/upload-artifact@v3
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Test and report
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 1000
Expand All @@ -23,14 +23,12 @@ jobs:

- run: npm ci --ignore-scripts

- run: npm run lint

- name: Run mcdev-tests with coverage
run: npm run coverage

- name: Prepare for Report Coverage
run: |
npx nyc report --reporter json-summary --exclude-after-remap false
npx c8 report --reporter json-summary --exclude-after-remap false
npm i svelte-to-html@1.0.9
git fetch origin ${{ github.event.pull_request.base.ref }} --depth=1000
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
Expand All @@ -22,7 +22,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
Expand Down
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"tabWidth": 4,
"printWidth": 100,
"singleQuote": true,
"trailingComma": "es5",
"overrides": [
{
"files": "*.json",
Expand Down
4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"editorconfig.editorconfig",
"esbenp.prettier-vscode",

// mcdev tests
"hbenl.vscode-mocha-test-adapter",
"IBM.output-colorizer",

// Markdown / Readme.md
"joernberkefeld.markdown-preview-bitbucket-innersource"
]
Expand Down
Loading

0 comments on commit 4165dd2

Please sign in to comment.