-
Notifications
You must be signed in to change notification settings - Fork 0
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 #6 from byu-oit/updates
Added automatic github releases
- Loading branch information
Showing
7 changed files
with
124 additions
and
16 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,48 @@ | ||
name: Weekly Bump Dependencies | ||
on: | ||
schedule: | ||
- cron: '0 14 * * 1' | ||
workflow_dispatch: | ||
env: | ||
node_version: "14.x" | ||
|
||
jobs: | ||
Bump: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ env.node_version }} | ||
|
||
- name: npm install | ||
run: npm install | ||
|
||
- name: Check outdated dependencies | ||
id: outdated | ||
run: npm outdated || echo ::set-output name=outdated::1 | ||
|
||
- name: Bump dependencies | ||
if: steps.outdated.outputs.outdated == 1 | ||
run: npm update | ||
|
||
- name: Bump patch version | ||
if: steps.outdated.outputs.outdated == 1 | ||
run: npm version patch -git-tag-version=false | ||
|
||
- name: Create (or update) pull request | ||
if: steps.outdated.outputs.outdated == 1 | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
token: ${{ secrets.GH_ACTIONS_TOKEN }} # Use non-default token so that this PR will trigger CI | ||
title: 'chore(deps): bump dependencies' | ||
commit-message: 'chore(deps): bump dependencies' | ||
body: Created using the [Weekly Bump Dependenciesv](https://github.com/${{ github.repository }}/actions?query=workflow%3A%22Weekly+Bump+Dependencies%22) workflow | ||
branch: bump-dependencies | ||
labels: | | ||
dependencies | ||
javascript | ||
reviewers: yoshutch |
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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,6 +1,6 @@ | ||
{ | ||
"name": "@byu-oit/logger", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Default configuration for pino logger", | ||
"contributors": [ | ||
"Scott Hutchings <[email protected]>" | ||
|
@@ -34,7 +34,7 @@ | |
"snazzy": "^9.0.0", | ||
"ts-jest": "^26.5.4", | ||
"ts-standard": "^10.0.0", | ||
"typescript": "^4.2.3" | ||
"typescript": "^4.2.4" | ||
}, | ||
"engines": { | ||
"node": ">=10" | ||
|