Skip to content

chore: simplify gulp use by extracting dev & watch #2099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NODE_ENV=production
STORYBOOK_URL=/preview/
2 changes: 2 additions & 0 deletions .env.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NODE_ENV=development
STORYBOOK_URL=http://localhost:3000
14 changes: 3 additions & 11 deletions .github/workflows/pr-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,9 @@ jobs:
with:
node-version: 16
- name: Install dependencies
run: yarn install
- name: Clean everything
run: yarn clean
- name: Build components
run: yarn build:components
- name: Build docs site
run: yarn build:site
- name: Build Storybook (preview)
run: yarn workspace @spectrum-css/preview build
- name: Move Storybook build to dist
run: yarn postbuild:all
run: yarn install --frozen-lockfile
- name: Build
run: yarn ci
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v2
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ npm-debug.log*
lerna-debug.log
yarn-error.log
package-lock.json
profile.json

# Storybook build output
tools/preview/storybook-static
Expand Down
Loading