diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a12d36a..fdf2ed5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,15 +1,19 @@ name: Test -on: push +on: + push: + branches: + - main + pull_request: jobs: test: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [16.x, 18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: npm install and test diff --git a/package.json b/package.json index d3b7de2..377018c 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,8 @@ }, "devDependencies": { "express": "^4.18.2", - "express4": "github:expressjs/express#4.18.3-staging", - "express5": "npm:express@^5.0.0-beta.1", + "express4": "github:expressjs/express#4.19.2", + "express5": "npm:express@^5.0.0-beta.3", "mocha": "^10.3.0", "standard": "^17.1.0", "supertest": "^6.3.4"