mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Fix v4 release workflow (#14167)
This PR fixes the release workflow - We added a postbuild step so that any arguments/flags passed to the `pnpm run build` command are forwarded to the underlying command. - We made sure that we run any `pnpm` specific flags before the actual command - Cleaned up the CI workflow a bit
This commit is contained in:
parent
f5f91ce9de
commit
558dcd568b
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -62,7 +62,7 @@ jobs:
|
||||
|
||||
- name: Lint
|
||||
run: pnpm run lint
|
||||
# Only lint on linux to avoind \r\n line ending errors
|
||||
# Only lint on linux to avoid \r\n line ending errors
|
||||
if: matrix.runner == 'ubuntu-latest'
|
||||
|
||||
- name: Test
|
||||
|
||||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -114,10 +114,6 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
|
||||
- name: Setup cross compile toolchain
|
||||
if: ${{ matrix.setup }}
|
||||
run: ${{ matrix.setup }}
|
||||
|
||||
- name: Install Rust (Stable)
|
||||
if: ${{ matrix.download }}
|
||||
run: |
|
||||
@ -130,7 +126,7 @@ jobs:
|
||||
run: pnpm install --ignore-scripts --filter=!./playgrounds/*
|
||||
|
||||
- name: Build release
|
||||
run: pnpm run build --filter ${{ env.OXIDE_LOCATION }}
|
||||
run: pnpm run --filter ${{ env.OXIDE_LOCATION }} build
|
||||
env:
|
||||
RUST_TARGET: ${{ matrix.target }}
|
||||
JEMALLOC_SYS_WITH_LG_PAGE: ${{ matrix.page-size }}
|
||||
@ -195,7 +191,7 @@ jobs:
|
||||
key: ${{ runner.os }}-${{ matrix.target }}-oxide-${{ hashFiles('./crates/**/*') }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --ignore-scripts --filter=!./playgrounds/*
|
||||
run: pnpm --filter=!./playgrounds/* install --ignore-scripts
|
||||
|
||||
- name: Build Tailwind CSS
|
||||
run: pnpm run build
|
||||
|
||||
@ -34,7 +34,8 @@
|
||||
"scripts": {
|
||||
"format": "prettier --write .",
|
||||
"lint": "prettier --check . && turbo lint",
|
||||
"build": "turbo build --filter=!./playgrounds/* && node ./scripts/pack-packages.mjs",
|
||||
"build": "turbo build --filter=!./playgrounds/*",
|
||||
"postbuild": "node ./scripts/pack-packages.mjs",
|
||||
"dev": "turbo dev --filter=!./playgrounds/*",
|
||||
"test": "cargo test && vitest run",
|
||||
"test:integrations": "vitest --root=./integrations --no-file-parallelism",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user