diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index abb81dad4a8a..c00672f686de 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -41,6 +41,13 @@ jobs: env: CI: true + - name: Link and build Tailwind CSS + run: | + npm run swcify + ln -nfs `pwd` node_modules/tailwindcss + env: + CI: true + - name: Test run: npm test env: diff --git a/package.json b/package.json index dd4680ce8fdc..c21b19840273 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,6 @@ "postswcify": "esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js", "rebuild-fixtures": "npm run swcify && node -r @swc/register scripts/rebuildFixtures.js", "prepublishOnly": "npm install --force && npm run swcify", - "prestyle": "ln -nfs `pwd` node_modules/tailwindcss && npm run swcify", "style": "eslint .", "pretest": "npm run generate", "test": "jest",