From 8ded28cd4a4915a55366e8d1565958b9552ca4ea Mon Sep 17 00:00:00 2001 From: Remy Sharp Date: Fri, 7 Jul 2023 09:51:52 +0100 Subject: [PATCH] docs: update test runners and add TODO --- .github/workflows/node.js.yml | 25 ++++++++++++------------- README.md | 2 +- TODO.md | 7 +++++++ 3 files changed, 20 insertions(+), 14 deletions(-) create mode 100644 TODO.md diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index fc3c3ed8..91150b89 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -5,27 +5,26 @@ name: tests on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: build: - runs-on: ubuntu-latest strategy: matrix: - node-version: [10.x, 12.x, 14.x, 16.x] + node-version: [10.x, 12.x, 18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - cache: npm - node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm run build --if-present - - run: npm test + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + cache: npm + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm run build --if-present + - run: npm test diff --git a/README.md b/README.md index 31151151..3f916e40 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ nodemon is a tool that helps develop Node.js based applications by automatically nodemon does **not** require *any* additional changes to your code or method of development. nodemon is a replacement wrapper for `node`. To use `nodemon`, replace the word `node` on the command line when executing your script. [![NPM version](https://badge.fury.io/js/nodemon.svg)](https://npmjs.org/package/nodemon) -[![Travis Status](https://travis-ci.org/remy/nodemon.svg?branch=master)](https://travis-ci.org/remy/nodemon) [![Backers on Open Collective](https://opencollective.com/nodemon/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/nodemon/sponsors/badge.svg)](#sponsors) +[![Backers on Open Collective](https://opencollective.com/nodemon/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/nodemon/sponsors/badge.svg)](#sponsors) # Installation diff --git a/TODO.md b/TODO.md new file mode 100644 index 00000000..8ff8e15c --- /dev/null +++ b/TODO.md @@ -0,0 +1,7 @@ +# TODO + +A rough outline of things I'd like to do with nodemon after 13 years of supporting the software: + +- Upgrade mocha (I tried Jest once, but it can't fork and monitor the outputs, which is how most of the tests run) +- Switch to prettier from jshint (and commit formatted code) +- Sweep code for unused or overly complicated code(!)