Update dependencies and CI #671
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: "43 19 * * *" | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: | |
| - 20.x # Maintenance LTS as of 2025-12 | |
| - 22.x # Maintenance LTS as of 2025-12 | |
| - 24.x # Active LTS as of 2025-12 | |
| - 25.x # Current as of 2025-12 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm update | |
| - run: npm run build | |
| - run: npm run lint | |
| - run: npm run test | |
| - run: npm run examples:node | |
| esbuild: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 25.x # Current as of 2025-12 | |
| - run: npm update | |
| - run: npm run build | |
| - run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns | |
| - run: npm run examples:esbuild | |
| bun: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 25.x # Current as of 2025-12 | |
| - uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: latest | |
| - run: npm update | |
| - run: npm run build | |
| - run: npm run examples:bun | |
| # https://github.com/oven-sh/bun/issues/4145 | |
| # - run: bun run --bun test:short | |
| deno: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 25.x # Current as of 2025-12 | |
| - uses: denoland/setup-deno@v2 | |
| with: | |
| deno-version: vx.x.x | |
| - run: npm update | |
| - run: npm run build | |
| - run: npm run examples:deno | |
| yarn: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 25.x # Current as of 2025-12 | |
| - run: npm update | |
| - run: npm run build | |
| - run: npm run examples:yarn | |
| pnpm: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 25.x # Current as of 2025-12 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: latest | |
| - run: npm update | |
| - run: npm run build | |
| - run: npm run examples:pnpm |