diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 50eae52..1300638 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -2,18 +2,17 @@ name: Node.js CI on: push: - branches: [ master ] + branches: [master] pull_request: - branches: [ master ] + branches: [master] jobs: build: - runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x, 15.x, 16.x, 17.x, 18.x, 19.x, 20.x] + node-version: [14.x, 15.x, 16.x, 17.x, 18.x, 19.x, 20.x, 21.x] steps: - uses: actions/checkout@v3 @@ -23,4 +22,4 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run build --if-present - - run: npm test \ No newline at end of file + - run: npm test