diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 506ce53d7..d8c099873 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,12 +8,14 @@ on: permissions: contents: read +env: + NODE_VERSION: 24 + jobs: tests: strategy: fail-fast: false matrix: - node-version: [20] runner: - name: Windows os: windows-latest @@ -44,10 +46,10 @@ jobs: - uses: actions/checkout@v6 - uses: pnpm/action-setup@v4 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js ${{ env.NODE_VERSION }} uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ env.NODE_VERSION }} cache: 'pnpm' # Cargo already skips downloading dependencies if they already exist diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 7a5c09b0f..e36f5b3ab 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -8,13 +8,14 @@ on: permissions: contents: read +env: + NODE_VERSION: 24 + jobs: tests: strategy: fail-fast: false matrix: - node-version: [20] - runner: - name: Windows os: windows-latest @@ -57,10 +58,10 @@ jobs: git config --global user.name "github-actions[bot]" git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js ${{ env.NODE_VERSION }} uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ env.NODE_VERSION }} cache: 'pnpm' # Cargo already skips downloading dependencies if they already exist diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index d65370a5d..e506ab187 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -8,7 +8,7 @@ on: env: APP_NAME: tailwindcss-oxide - NODE_VERSION: 20 + NODE_VERSION: 24 OXIDE_LOCATION: ./crates/node permissions: diff --git a/.github/workflows/release-insiders.yml b/.github/workflows/release-insiders.yml index 159801138..f7792244f 100644 --- a/.github/workflows/release-insiders.yml +++ b/.github/workflows/release-insiders.yml @@ -9,7 +9,7 @@ permissions: env: APP_NAME: tailwindcss-oxide - NODE_VERSION: 20 + NODE_VERSION: 24 OXIDE_LOCATION: ./crates/node RELEASE_CHANNEL: insiders diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 20bd34b3a..3b0aeab20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ permissions: env: APP_NAME: tailwindcss-oxide - NODE_VERSION: 20 + NODE_VERSION: 24 OXIDE_LOCATION: ./crates/node jobs: