Skip to content

Commit

Permalink
trying to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Apr 17, 2024
1 parent 7e549c7 commit 6e95415
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/a11y-contrast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- name: Install dependencies
run: npm ci --no-audit --no-fund --ignore-scripts

- name: Build tokens
run: npm run build
- name: Build v8 tokens
run: npm run build:v8

- name: Run required checks
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
with:
node_version: 20
install: npm ci --legacy-peer-deps --no-audit --no-fund && npm run install:storybook
build: npm run build && cd docs/storybook && npm run build:prod
build: npm run build && npm run build:next && cd docs/storybook && npm run build:prod
output_dir: docs/public

2 changes: 1 addition & 1 deletion .github/workflows/deploy_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
node_version: 20
install: npm ci --no-audit --no-fund --ignore-scripts && npm run install:storybook
build: npm run build && cd docs/storybook && npm run build:preview
build: npm run build && npm run build:next && cd docs/storybook && npm run build:preview
output_dir: docs/public

post_storybook:
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@
},
"homepage": "https://github.com/primer/primitives#readme",
"scripts": {
"build": "npm run build:v8 && npm run build:fallbacks && npm run build:figma",
"build": "ts-node ./scripts/build.ts && tsc --project tsconfig.build.json",
"build:next": "npm run build:v8 && npm run build:fallbacks && npm run build:figma",
"build:v8": "ts-node ./scripts/buildTokens.ts",
"build:fallbacks": "ts-node ./scripts/buildFallbacks.ts",
"build:figma": "ts-node scripts/buildFigma.ts",
"build:tokens": "node -e \"require('./build')._init()\"",
"build:new-tokens": "npm run build:tokens && npm run build",
"tokenJson:check": "ts-node scripts/diffThemes.ts && ts-node scripts/diffTokenProps.ts",
"contrast:check": "ts-node scripts/color-contrast.ts",
"format": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
Expand Down

0 comments on commit 6e95415

Please sign in to comment.