Skip to content

Commit

Permalink
Add missing svelte-package
Browse files Browse the repository at this point in the history
  • Loading branch information
xeho91 committed May 14, 2024
1 parent a3d9e68 commit 0de17f1
Show file tree
Hide file tree
Showing 3 changed files with 386 additions and 166 deletions.
28 changes: 9 additions & 19 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,21 @@
name: 'Chromatic'
name: Chromatic
on: push
jobs:
publish:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
- uses: actions/checkout@v3
with:
fetch-depth: 0

# https://nodejs.org/api/corepack.html
- name: Enable corepack (for pnpm)
run: corepack enable

# https://github.com/actions/setup-node
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Install Node.js
uses: actions/setup-node@v3
with:
cache: pnpm
node-version: 20

# https://pnpm.io/cli/install
- name: Install Node.js dependencies with pnpm
run: >
pnpm install
--frozen-lockfile
- name: Install dependencies
uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"svelte-check": "^3.5.0",
"svelte-jester": "^2.3.2",
"svelte-loader": "^3.1.7",
"svelte-package": "^0.1.0",
"typescript": "^5.1.6",
"vite": "^4.4.3",
"vitest": "^0.33.0"
Expand Down
Loading

0 comments on commit 0de17f1

Please sign in to comment.