diff --git a/.github/workflows/pr-branch-build.yaml b/.github/workflows/pr-branch-build.yaml index 7aa8e66..e5d6273 100644 --- a/.github/workflows/pr-branch-build.yaml +++ b/.github/workflows/pr-branch-build.yaml @@ -9,12 +9,15 @@ jobs: name: Node.JS ${{ matrix.node-version }} Axios ${{ matrix.axios-version }} strategy: matrix: - node-version: [16.x, 18.x] + node-version: [14.x, 16.x, 18.x] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'yarn' + - run: yarn install --ignore-engines # @typescript-eslint/eslint-plugin@6.10.0 requires node 16+ + if: ${{ matrix.node-version == '14.x' }} - run: yarn install + if: ${{ matrix.node-version != '14.x' }} - run: yarn test diff --git a/package.json b/package.json index 4e29345..982ed79 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "author": "LifeOmic ", "license": "MIT", "engines": { - "node": ">=16" + "node": ">=14" }, "files": [ "src/**/*.d.ts",