diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 393020c..f481382 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -7,22 +7,21 @@ on: [push, pull_request] jobs: test: - runs-on: ubuntu-latest strategy: matrix: - node-version: [10.x, 12.x] + node-version: [18.x, 20.x] 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 --if-present - - run: npm test - env: - CI: true - TEST_SECR: ${{secrets.TEST_SECR}} + - 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 --if-present + - run: npm test + env: + CI: true + TEST_SECR: ${{secrets.TEST_SECR}}