Skip to content

Commit

Permalink
Merge pull request #24 from pbredenberg/pb/chore-upgrade-node
Browse files Browse the repository at this point in the history
chore: upgrade Node.js to 16.15.0 and NPM to 8.5.5
  • Loading branch information
onebytegone authored Apr 24, 2023
2 parents 45b1fc1 + d38701e commit da3b4d5
Show file tree
Hide file tree
Showing 9 changed files with 13,228 additions and 3,230 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"rules": {
"no-console": "off",
"no-process-env": "off"
}
},

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

}
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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 [email protected]
- run: npm ci
- run: npm run standards
test:
needs: [ build ]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [ 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 [email protected]
- 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
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.eslintrc.json
.travis.yml
Gruntfile.js
tests/**
.serverless
coverage
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.22.1
16.15.0
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

41 changes: 0 additions & 41 deletions Gruntfile.js

This file was deleted.

19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
# Silvermine CloudFormation Custom Resources

[![Build Status](https://travis-ci.org/silvermine/cloudformation-custom-resources.svg?branch=master)](https://travis-ci.org/silvermine/cloudformation-custom-resources)
[![Coverage Status](https://coveralls.io/repos/github/silvermine/cloudformation-custom-resources/badge.svg?branch=master)](https://coveralls.io/github/silvermine/cloudformation-custom-resources?branch=master)
[![Dependency Status](https://david-dm.org/silvermine/cloudformation-custom-resources.svg)](https://david-dm.org/silvermine/cloudformation-custom-resources)
[![Dev Dependency Status](https://david-dm.org/silvermine/cloudformation-custom-resources/dev-status.svg)](https://david-dm.org/silvermine/cloudformation-custom-resources#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]

## What is it?

A collection of custom resources that we find useful for our CloudFormation
stacks - supporting things that CloudFormation doesn't natively provide.


## How do I use it?

TODO: fill this in


## How do I contribute?

We genuinely appreciate external contributions. See [our extensive
documentation][contributing] on how to contribute.


## License

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

[contributing]: https://github.com/silvermine/silvermine-info#contributing
[npm-version]: https://img.shields.io/npm/v/@silvermine/cloudformation-custom-resources.svg
[npm-version-url]: https://www.npmjs.com/package/@silvermine/cloudformation-custom-resources
[license-badge]: https://img.shields.io/github/license/silvermine/cloudformation-custom-resources.svg
[build-status]: https://github.com/silvermine/cloudformation-custom-resources/actions/workflows/ci.yml/badge.svg
[build-status-url]: https://travis-ci.org/silvermine/cloudformation-custom-resources.svg?branch=master
[coverage-status]: https://coveralls.io/repos/github/silvermine/cloudformation-custom-resources/badge.svg?branch=master
[coverage-status-url]: https://coveralls.io/github/silvermine/cloudformation-custom-resources?branch=master
Loading

0 comments on commit da3b4d5

Please sign in to comment.