diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a98297e..220468d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,5 +1,6 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages +# This workflow will run tests using node and then publish a package to GitHub +# Packages when a release is created For more information see: +# https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages name: publish diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index da28fab..92b071e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,30 +1,30 @@ -# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions +# This workflow will do a clean install of node dependencies, build the source +# code and run tests across different versions of node For more information see: +# https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions name: tests on: push: - branches: [ master ] + branches: [master] pull_request: - branches: [ master ] + branches: [master] jobs: build: - runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x, 19.x] + node-version: [18, 20, 22] steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm run build - - run: npm run lint - - run: npm test + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm run build + - run: npm run lint + - run: npm test diff --git a/.nvmrc b/.nvmrc index 3027af3..48b14e6 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.10.0 +20.14.0