diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index 16d6c49..0f8816e 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -8,14 +8,10 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: ['14.x', '16.x', '18.x'] - exclude: - # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow#excluding-matrix-configurations - - os: macos-latest - node-version: 14.x + node-version: [ '18','20','22'] fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: @@ -30,18 +26,17 @@ jobs: run: npm install - name: Test run: npm run test - env: - CI: true + coverage: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest] - node-version: ['14.x'] + node-version: ['lts/*'] 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@v4 with: node-version: ${{ matrix.node-version }} - name: Cache NPM dependencies @@ -54,9 +49,7 @@ jobs: run: npm install - name: Coverage run: npm run test-cov - env: - CI: true - name: Coveralls - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.github_token }} diff --git a/package.json b/package.json index 73ecbdd..bed2f4e 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,6 @@ "uuid": "^9.0.0" }, "engines": { - "node": ">=14" + "node": ">=18" } }