Skip to content

Commit

Permalink
Merge pull request #6 from nordic-game-lab/CON-1
Browse files Browse the repository at this point in the history
CON-1 version 2.2.0
  • Loading branch information
hi5a authored May 23, 2023
2 parents 7764ea2 + e0b32fd commit d5b4d2e
Show file tree
Hide file tree
Showing 7 changed files with 213 additions and 5 deletions.
14 changes: 14 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name-template: v$NEXT_PATCH_VERSION
tag-template: v$NEXT_PATCH_VERSION
categories:
- title: 🚀 Features
label: feature
- title: 🐛 Bug Fixes
label: fix
- title: 🧰 Maintenance
label: chore
tag-template: - $TITLE @$AUTHOR (#$NUMBER)
template: |
## Changes
$CHANGES
3 changes: 3 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ jobs:
- run: npm test
- name: Codecov
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
files: ./coverage/clover.xml
11 changes: 11 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@ jobs:
- run: npm ci
- run: npm test

bump-changelog:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm run bump

publish-npm:
needs: build
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

#coverage report
coverage

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### v1.0.1

> 26 April 2023
- Added testing [`14b7897`](https://github.com/nordic-game-lab/convertlbs/commit/14b78979513e6d9d50d1400d1f7bb6d24514c9dd)
- Initial commit [`7dffb2b`](https://github.com/nordic-game-lab/convertlbs/commit/7dffb2b9df95f309977ce4e2b5b551e0d08cc46e)
- update 1.0.0 [`247030d`](https://github.com/nordic-game-lab/convertlbs/commit/247030d65a26f2aed1b1bdf19948361f01bcd31c)
166 changes: 164 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "convertlbs",
"version": "2.1.1",
"version": "2.2.0",
"description": "Convert pounds to other units and returns grams, kilograms, and ounces as a JSON object.",
"main": "convertlbs.js",
"scripts": {
"test": "jest",
"prepare": "husky install"
"test": "jest --coverage",
"prepare": "husky install",
"bump": "node ./node_modules/.bin/auto-changelog"
},
"type": "commonjs",
"keywords": [
Expand Down Expand Up @@ -35,6 +36,7 @@
"devDependencies": {
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"auto-changelog": "^2.4.0",
"husky": "^8.0.0",
"jest": "^29.5.0"
}
Expand Down

0 comments on commit d5b4d2e

Please sign in to comment.