diff --git a/.github/workflows/Push.yml b/.github/workflows/Push.yml index 34747f9..49b032f 100644 --- a/.github/workflows/Push.yml +++ b/.github/workflows/Push.yml @@ -6,16 +6,8 @@ jobs: Test: name: Tests runs-on: ubuntu-latest - strategy: - matrix: - node: ['13.9', '13.10', '13.11'] steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1.4.1 + - uses: k-foss/npm-run-action@master with: - node-version: ${{ matrix.node }} - registry-url: 'https://registry.npmjs.org' - - name: Install dependencies - run: npm ci - - name: Run Tests - run: npm run test + scriptName: 'test' diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index b875585..f151882 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ['13.9', '13.10', '13.11'] + node: ['13.7', '13.8', '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: Run Tests + - name: Install dependencies run: npm run test Publish: diff --git a/README.md b/README.md index b71eb03..f910182 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.9 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.7 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.9 or newer** +**MUST HAVE NODE.JS v13.7 or newer** To try this out, clone repo diff --git a/package.json b/package.json index fc4b7a9..5f4e4d1 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "typescript": ">=3.7" }, "engines": { - "node": ">= 13.9" + "node": ">= 13.7" }, "scripts": { "pretest": "npm run build",