-
Notifications
You must be signed in to change notification settings - Fork 3
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 #77 from CMSgov/release/v1.3.7
Release/v1.3.7
- Loading branch information
Showing
10 changed files
with
1,766 additions
and
353 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 +1,3 @@ | ||
dist/ | ||
coverage/ | ||
.nyc_output/ |
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,21 @@ | ||
name-template: 'v$RESOLVED_VERSION' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
replacers: | ||
- search: '/QPP([^\-]+)-(\d+)/gi' | ||
replace: '[QPP$1-$2](https://jira.cms.gov/browse/QPP$1-$2)' | ||
change-template: '- $TITLE (#$NUMBER)' | ||
version-resolver: | ||
major: | ||
labels: | ||
- 'major' | ||
minor: | ||
labels: | ||
- 'minor' | ||
patch: | ||
labels: | ||
- 'patch' | ||
default: patch | ||
template: | | ||
## Changes | ||
$CHANGES |
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,27 @@ | ||
name: Release Notes Drafter | ||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
release_draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout Codebase | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Detect and tag new version | ||
id: package-version | ||
uses: salsify/action-detect-and-tag-new-version@68bbe8670f415d304e02942186441939c4692aa6 #v1.0.3 | ||
|
||
- name: Draft release notes | ||
uses: release-drafter/release-drafter@06d4616a80cd7c09ea3cf12214165ad6c1859e67 #v5.11 | ||
with: | ||
config-name: release-draft.yml | ||
version: v${{ steps.package-version.outputs.current-version }} | ||
tag: v${{ steps.package-version.outputs.current-version }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: PR CI/Checks | ||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
branches: [ develop ] | ||
|
||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout Codebase | ||
uses: actions/checkout@v2 | ||
|
||
- name: Configure Node version and registry | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
|
||
- name: Install Dependencies | ||
run: npm ci | ||
|
||
- name: Run Tests | ||
run: npm run coverage | ||
|
||
- name: Produce Coverage report | ||
uses: 5monkeys/cobertura-action@882bd919c67f7aa665370064c22fb81e7662a759 # pin@master | ||
with: | ||
path: coverage/cobertura-coverage.xml | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
only_changed_files: false | ||
show_line: true | ||
show_branch: true | ||
minimum_coverage: 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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# | ||
# When a pre-release event occur, this action will build code | ||
# and publish it to npmjs | ||
# | ||
|
||
name: Release | ||
|
||
on: | ||
release: | ||
types: [ prereleased ] | ||
|
||
jobs: | ||
|
||
# Will publish the node package to NPM packages | ||
publish-npm: | ||
runs-on: ubuntu-latest | ||
needs: publish-npm | ||
steps: | ||
|
||
- name: Checkout Codebase | ||
uses: actions/checkout@v2 | ||
|
||
- name: Configure Node version and registry | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.14.2 | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Clean | ||
run: npm run clean | ||
|
||
- name: Do production build | ||
run: npm run build:prod | ||
|
||
- name: Publish to NPMJS | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
|
||
# Make an announcement to other repositories of interest | ||
# repo-dispatch: | ||
# runs-on: ubuntu-latest | ||
# needs: publish-npm | ||
# strategy: | ||
# matrix: | ||
# repo: | ||
# - https://github.cms.gov/qpp/qpp-submission-client | ||
# steps: | ||
# - name: Repository Dispatch | ||
# uses: peter-evans/repository-dispatch@1708dda5703a768a0fb0ef6a7a03a0c3805ebc59 #v1.1.1 | ||
# with: | ||
# token: ${{ secrets.GH_USER_TOKEN }} | ||
# repository: ${{ matrix.repo }} | ||
# event-type: lib-update-event | ||
# client-payload: '{"ref": "${{ github.ref }}", "private_package": "@cmsgov/qpp-file-upload-api-client", "public_package":"@cmsgov/qpp-file-upload-api-client" ,"tag_name": "${{ github.event.release.tag_name }}", "html_url": "${{github.event.release.html_url}}"}' |
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,2 +1,5 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
node_modules | ||
coverage/ | ||
.nyc_output/ | ||
.idea/ |
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.
Oops, something went wrong.