mirror of
https://github.com/aphrody-labs/tailwindcss.git
synced 2026-10-17 12:45:52 +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:
1 parent
f5f91ce9de
commit
558dcd568b
3 files changed
+5
-8
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+2
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user