diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df40e2c..0de8f87 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,11 +14,11 @@ jobs: os: [ubuntu-latest, macos-15, windows-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 - - name: Use Node.js 20 - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - name: Use Node.js 22 + uses: actions/setup-node@v5 with: - node-version: '20' + node-version: '22' cache: 'npm' - name: Install dependencies run: npm ci diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1622c62..e5d77b3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,9 +15,7 @@ jobs: - uses: actions/checkout@v5 - uses: actions/setup-node@v5 with: - node-version: 20 + node-version: 24 registry-url: https://registry.npmjs.org/ - # Ensure npm 11.5.1 or later is installed (for OIDC npm publishing) - - run: npm install -g npm@latest - run: npm ci - run: npm publish