mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Restore npm ci
step for storybook build (#16247)
* Restore npm ci step for storybook build * Add lezer-latex:generate --------- Co-authored-by: Gernot Schulz <gernot.schulz@overleaf.com> GitOrigin-RevId: 9ccd67d061fe098c3c8856c2489dd4bcda221d6a
This commit is contained in:
parent
76d195cd39
commit
8839addbfa
2 changed files with 9 additions and 1 deletions
|
@ -553,8 +553,9 @@ tar:
|
|||
COMPOSE_PROJECT_NAME=tar_$(BUILD_DIR_NAME) $(DOCKER_COMPOSE) down -v -t 0
|
||||
|
||||
build_storybook:
|
||||
npm run lezer-latex:generate
|
||||
npm run build-storybook
|
||||
if [[ -n "$(BRANCH_NAME)" ]]; then \
|
||||
if [ -n "$(BRANCH_NAME)" ]; then \
|
||||
echo "Renaming storybook-static -> $(BRANCH_NAME)."; \
|
||||
d=$$(dirname "$(BRANCH_NAME)"); \
|
||||
mkdir -p "storybook-output/$$d"; \
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
steps:
|
||||
- id: npm_ci
|
||||
name: "node:18.18.2"
|
||||
entrypoint: /bin/bash
|
||||
args:
|
||||
- '-c'
|
||||
- 'bin/npm_install_subset . libraries/* services/web'
|
||||
|
||||
- id: build-storybook
|
||||
name: 'node:18.18.2'
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue