Skip to content

Commit

Permalink
Merge pull request #7 from pbredenberg/pb/upgrade-node-standardization
Browse files Browse the repository at this point in the history
chore: upgrade node standardization
  • Loading branch information
onebytegone committed Apr 21, 2023
2 parents dc5771e + 90aa88c commit 8234838
Show file tree
Hide file tree
Showing 10 changed files with 15,142 additions and 1,599 deletions.
7 changes: 6 additions & 1 deletion .eslintrc.json
Expand Up @@ -11,6 +11,11 @@
"ignoreUrls": true
}
]
}
},

"ignorePatterns": [
"coverage/**/*",
"node_modules/**/*"
]

}
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,38 @@
name: CI

on: [ push, pull_request ]

jobs:
build:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history
-
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: npm i -g npm@8.5.5
- run: npm ci
- run: npm run standards
test:
needs: [ build ]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [ 12, 14, 16, 'lts/*', 'latest' ]
steps:
- uses: actions/checkout@v3
-
name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm i -g npm@8.5.5
- run: npm ci # Reinstall the dependencies to ensure they install with the current version of node
- run: npm test
- name: Coveralls
uses: coverallsapp/github-action@v1
3 changes: 3 additions & 0 deletions .markdownlint.json
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/@silvermine/standardization/.markdownlint.json"
}
1 change: 1 addition & 0 deletions .nvmrc
@@ -0,0 +1 @@
16.15.0
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

28 changes: 0 additions & 28 deletions Gruntfile.js

This file was deleted.

22 changes: 14 additions & 8 deletions README.md
@@ -1,17 +1,16 @@
# Silvermine Lambda Utilities

[![Build Status](https://travis-ci.org/silvermine/lambda-utils.svg?branch=master)](https://travis-ci.org/silvermine/lambda-utils)
[![Coverage Status](https://coveralls.io/repos/github/silvermine/lambda-utils/badge.svg?branch=master)](https://coveralls.io/github/silvermine/lambda-utils?branch=master)
[![Dependency Status](https://david-dm.org/silvermine/lambda-utils.svg)](https://david-dm.org/silvermine/lambda-utils)
[![Dev Dependency Status](https://david-dm.org/silvermine/lambda-utils/dev-status.svg)](https://david-dm.org/silvermine/lambda-utils#info=devDependencies&view=table)

[![NPM Version][npm-version]][npm-version-url]
[![License][license-badge]](./LICENSE)
[![Build Status][build-status]][build-status-url]
[![Coverage Status][coverage-status]][coverage-status-url]
![Conventional Commits][conventional-commits-url]

## What is it?

This is a collection of utility functions that may be useful if you are working
with AWS Lambda, and especially if you prefer promises over callbacks.


## How do I use it?

The code is primarily a set of autonomous functions that you can import and use
Expand All @@ -33,15 +32,22 @@ module.exports = {
};
```


## How do I contribute?

We genuinely appreciate external contributions. See [our extensive
documentation](https://github.com/silvermine/silvermine-info#contributing) on
how to contribute.


## License

This software is released under the MIT license. See [the license
file](LICENSE) for more details.

[npm-version]: https://img.shields.io/npm/v/@silvermine/lambda-utils.svg
[npm-version-url]: https://www.npmjs.com/package/@silvermine/lambda-utils
[license-badge]: https://img.shields.io/github/license/silvermine/lambda-utils.svg
[build-status]: https://github.com/silvermine/lambda-utils/actions/workflows/ci.yml/badge.svg
[build-status-url]: https://travis-ci.org/silvermine/lambda-utils.svg?branch=master
[coverage-status]: https://coveralls.io/repos/github/silvermine/lambda-utils/badge.svg?branch=master
[coverage-status-url]: https://coveralls.io/github/silvermine/lambda-utils?branch=master
[conventional-commits-url]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg
5 changes: 5 additions & 0 deletions commitlint.config.js
@@ -0,0 +1,5 @@
'use strict';

module.exports = {
extends: [ '@silvermine/standardization/commitlint.js' ],
};

0 comments on commit 8234838

Please sign in to comment.