Skip to content

Commit

Permalink
Merge pull request #77 from CMSgov/release/v1.3.7
Browse files Browse the repository at this point in the history
Release/v1.3.7
  • Loading branch information
jonalarson committed Jun 29, 2020
2 parents 2f66345 + 4ea0bc3 commit 3cf7b17
Show file tree
Hide file tree
Showing 10 changed files with 1,766 additions and 353 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
dist/
coverage/
.nyc_output/
21 changes: 21 additions & 0 deletions .github/release-draft.yml
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
27 changes: 27 additions & 0 deletions .github/workflows/draft-release.yml
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 }}
35 changes: 35 additions & 0 deletions .github/workflows/pr-feature.yml
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
55 changes: 55 additions & 0 deletions .github/workflows/publish.yml
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}}"}'
3 changes: 3 additions & 0 deletions .npmignore
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/
35 changes: 35 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,38 @@ patch:
patched: '2020-03-30T20:38:36.971Z'
- snyk > proxy-agent > pac-proxy-agent > https-proxy-agent:
patched: '2020-03-30T20:38:36.971Z'
SNYK-JS-LODASH-567746:
- snyk > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > @snyk/dep-graph > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > inquirer > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > snyk-config > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > snyk-mvn-plugin > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > snyk-nodejs-lockfile-parser > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > snyk-nuget-plugin > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > @snyk/dep-graph > graphlib > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > snyk-go-plugin > graphlib > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > snyk-nodejs-lockfile-parser > graphlib > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > @snyk/snyk-cocoapods-plugin > @snyk/dep-graph > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > snyk-nuget-plugin > dotnet-deps-parser > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > snyk-php-plugin > @snyk/composer-lockfile-parser > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > @snyk/snyk-cocoapods-plugin > @snyk/dep-graph > graphlib > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > @snyk/snyk-cocoapods-plugin > @snyk/cocoapods-lockfile-parser > @snyk/dep-graph > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > @snyk/snyk-cocoapods-plugin > @snyk/cocoapods-lockfile-parser > @snyk/ruby-semver > lodash:
patched: '2020-05-18T16:02:02.056Z'
- snyk > @snyk/snyk-cocoapods-plugin > @snyk/cocoapods-lockfile-parser > @snyk/dep-graph > graphlib > lodash:
patched: '2020-05-18T16:02:02.056Z'
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

0 comments on commit 3cf7b17

Please sign in to comment.