diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eb7f3ccb4..79f5a6756 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,10 +9,9 @@ jobs: steps: - uses: actions/checkout@master - - name: Use Node.js 18 - uses: actions/setup-node@master + - uses: actions/setup-node@master with: - node-version: 18 + node-version: 22 - uses: actions/cache@v4 name: Cache node_modules @@ -59,10 +58,9 @@ jobs: steps: - uses: actions/checkout@master - - name: Use Node.js 18 - uses: actions/setup-node@master + - uses: actions/setup-node@master with: - node-version: 18 + node-version: 22 - uses: actions/cache@v4 name: Cache node_modules @@ -89,10 +87,9 @@ jobs: steps: - uses: actions/checkout@master - - name: Use Node.js 18 - uses: actions/setup-node@master + - uses: actions/setup-node@master with: - node-version: 18 + node-version: 22 - uses: actions/cache@v4 name: Cache node_modules diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 40135ad19..a7e02d71f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -20,7 +20,7 @@ jobs: with: npmTag: alpha buildScript: build - nodeVersion: 18 + nodeVersion: 22 secrets: githubToken: ${{ secrets.GITHUB_TOKEN }} npmToken: ${{ secrets.NPM_TOKEN }} @@ -36,7 +36,7 @@ jobs: npmTag: rc restoreDeletedChangesets: true buildScript: build - nodeVersion: 18 + nodeVersion: 22 secrets: githubToken: ${{ secrets.GITHUB_TOKEN }} npmToken: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6046ef27a..734b7a6ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: with: createGithubReleases: true releaseScript: release - nodeVersion: 18 + nodeVersion: 22 secrets: githubToken: ${{ secrets.GITHUB_TOKEN }} npmToken: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 3367fdad3..ea3e2401f 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -23,9 +23,12 @@ jobs: - uses: the-guild-org/shared-config/setup@main name: website with: - nodeVersion: 18 # change if needed + nodeVersion: 22 # change if needed packageManager: yarn # change if needed + - name: Pre-install wrangler + run: yarn add wrangler --ignore-workspace-root-check + - uses: the-guild-org/shared-config/website-cf@main name: build and deploy website env: diff --git a/.nvmrc b/.nvmrc index 3c032078a..2bd5a0a98 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 +22