From 92499c20617180ede92246197f2849306f8d2503 Mon Sep 17 00:00:00 2001 From: KristianFJones Date: Mon, 30 Mar 2020 20:14:13 +0000 Subject: [PATCH] refactor: Remove Node 13.7/13.8 from supported versions --- .github/workflows/Push.yml | 12 ++++++++++-- .github/workflows/Release.yml | 4 ++-- README.md | 4 ++-- package.json | 2 +- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/Push.yml b/.github/workflows/Push.yml index 49b032f..34747f9 100644 --- a/.github/workflows/Push.yml +++ b/.github/workflows/Push.yml @@ -6,8 +6,16 @@ jobs: Test: name: Tests runs-on: ubuntu-latest + strategy: + matrix: + node: ['13.9', '13.10', '13.11'] steps: - uses: actions/checkout@v2 - - uses: k-foss/npm-run-action@master + - uses: actions/setup-node@v1.4.1 with: - scriptName: 'test' + node-version: ${{ matrix.node }} + registry-url: 'https://registry.npmjs.org' + - name: Install dependencies + run: npm ci + - name: Run Tests + run: npm run test diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index f151882..b875585 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ['13.7', '13.8', '13.9', '13.10', '13.11'] + node: ['13.9', '13.10', '13.11'] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1.4.1 @@ -21,7 +21,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: npm ci - - name: Install dependencies + - name: Run Tests run: npm run test Publish: diff --git a/README.md b/README.md index f910182..b71eb03 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) ![Libraries.io dependency status for latest release, scoped npm package](https://img.shields.io/librariesio/release/npm/@k-foss/ts-esnode) -This is a Node.JS Loader hook for Node.JS 13.7 or newer that transpiles TypeScript files into JavaScript using the `getFormat`, `resolve`, and `transformSource` hooks. +This is a Node.JS Loader hook for Node.JS 13.9 or newer that transpiles TypeScript files into JavaScript using the `getFormat`, `resolve`, and `transformSource` hooks. ## Usage @@ -41,7 +41,7 @@ When you open this folder in VSCode you should get a notication to reopen in con ### Testing -**MUST HAVE NODE.JS v13.7 or newer** +**MUST HAVE NODE.JS v13.9 or newer** To try this out, clone repo diff --git a/package.json b/package.json index 5f4e4d1..fc4b7a9 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "typescript": ">=3.7" }, "engines": { - "node": ">= 13.7" + "node": ">= 13.9" }, "scripts": { "pretest": "npm run build",