diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe6963a3c..069148ad6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,10 +26,10 @@ jobs: if: "!contains(github.event.head_commit.message, 'GITBOOK')" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 cache: 'npm' - run: npm ci - run: npm run lint:ci @@ -40,10 +40,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 cache: 'npm' - run: npm ci - run: npm run ts:check @@ -53,10 +53,10 @@ jobs: if: "!contains(github.event.head_commit.message, 'GITBOOK')" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 cache: 'npm' - run: npm ci - run: npm run test:ci @@ -70,19 +70,18 @@ jobs: contents: write id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 cache: 'npm' registry-url: https://registry.npmjs.org/ - run: | git config user.name "${GITHUB_ACTOR}" git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" # OIDC requires npm v11.5.1 or later. - # Node.js v20 comes with v10.8, so we need to update it: - run: npm install -g npm@~11.10.0 - run: npm ci - run: npm run release:prepare @@ -96,7 +95,7 @@ jobs: needs: [ release-beta ] runs-on: ubuntu-latest steps: - - uses: peter-evans/repository-dispatch@v3 + - uses: peter-evans/repository-dispatch@v4 with: token: ${{ secrets.ORG_PA_TOKEN }} repository: vuelessjs/vueless-module-nuxt @@ -111,19 +110,18 @@ jobs: contents: write id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 cache: 'npm' registry-url: https://registry.npmjs.org/ - run: | git config user.name "${GITHUB_ACTOR}" git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" # OIDC requires npm v11.5.1 or later. - # Node.js v20 comes with v10.8, so we need to update it: - run: npm install -g npm@~11.10.0 - run: npm ci - run: npm run release:prepare @@ -137,7 +135,7 @@ jobs: needs: release runs-on: ubuntu-latest steps: - - uses: peter-evans/repository-dispatch@v3 + - uses: peter-evans/repository-dispatch@v4 with: token: ${{ secrets.ORG_PA_TOKEN }} repository: vuelessjs/vueless-module-nuxt @@ -153,7 +151,7 @@ jobs: matrix: repo: [ 'vuelessjs/vueless-quickstart', 'vuelessjs/vueless-quickstart-ts' ] steps: - - uses: peter-evans/repository-dispatch@v3 + - uses: peter-evans/repository-dispatch@v4 with: token: ${{ secrets.ORG_PA_TOKEN }} repository: ${{ matrix.repo }} @@ -167,13 +165,13 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: ref: main fetch-depth: 0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 cache: 'npm' - run: npm install -g npm@~11.10.0 - run: npm ci @@ -198,7 +196,7 @@ jobs: needs: [release, update-storybook] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - run: | diff --git a/package.json b/package.json index aba60211f..4e39f4403 100644 --- a/package.json +++ b/package.json @@ -119,7 +119,7 @@ "jackspeak": "2.3.6" }, "engines": { - "node": ">=20" + "node": ">=24" }, "repository": { "type": "git",