diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2c0720a..5374d08f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,18 +1,6 @@ name: Node.js CI -on: - push: - tags: - - v*.* - branches: - - main - paths-ignore: - - '**.md' - - '**.png' - - '**.svg' - pull_request_target: - branches: - - main +on: [push, pull_request] jobs: test: @@ -20,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - node: [17, 18, 19, 20] + node: [17, 18, 19, 20, 21] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node }} diff --git a/package.json b/package.json index eed62b06..55fd2184 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "watchify": "^4.0.0" }, "engines": { - "node": ">=10.24.1 <21.0.0" + "node": ">=10.24.1 <22.0.0" }, "repository": { "type": "git",