From 29c24a77eb600412864749513b5cf110f6ac41bf Mon Sep 17 00:00:00 2001 From: Evgeny Metelkin Date: Sun, 26 Nov 2023 15:27:42 +0200 Subject: [PATCH] fix actions --- .github/workflows/coverall.yml | 8 ++++---- .github/workflows/nodejs.yml | 6 +++--- package.json | 3 +++ 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/coverall.yml b/.github/workflows/coverall.yml index 1e8e1bf..75ca810 100644 --- a/.github/workflows/coverall.yml +++ b/.github/workflows/coverall.yml @@ -13,11 +13,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Use Node.js 10.x - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - name: Use Node.js 16.x + uses: actions/setup-node@v3 with: - node-version: 10.x + node-version: 16.x - run: npm ci - run: npm run test:cov - name: Coveralls GitHub Action diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 79629e9..c7d1c0c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -14,15 +14,15 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x] + node-version: [14.x, 16.x, 18.x, 20.x] platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - run: npm ci diff --git a/package.json b/package.json index 6af86a1..f2e5020 100644 --- a/package.json +++ b/package.json @@ -39,5 +39,8 @@ "dependencies": { "commander": "^11.1.0", "pegjs": "^0.10.0" + }, + "engines": { + "node": ">=12.0.0" } }