diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3a0adee..91d28eb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,31 +2,31 @@ name: Test on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: test: runs-on: ubuntu-latest - + strategy: matrix: - node-version: [18.x, 20.x] + node-version: [20.x, 22.x] steps: - uses: actions/checkout@v4 - + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - + - name: Install dependencies run: npm ci - + - name: Run tests run: npm test env: BUNNY_ACCESS_KEY: ${{ secrets.BUNNY_ACCESS_KEY }} - BUNNY_STORAGE_ZONE: ${{ secrets.BUNNY_STORAGE_ZONE }} \ No newline at end of file + BUNNY_STORAGE_ZONE: ${{ secrets.BUNNY_STORAGE_ZONE }} diff --git a/package.json b/package.json index 36e1dd6..c09bcd3 100644 --- a/package.json +++ b/package.json @@ -31,5 +31,8 @@ }, "dependencies": { "tsx": "^4.19.2" + }, + "engines": { + "node": ">=20" } }