Skip to content

Commit 0de17f1

Browse files
committed
Add missing svelte-package
1 parent a3d9e68 commit 0de17f1

File tree

3 files changed

+386
-166
lines changed

3 files changed

+386
-166
lines changed

.github/workflows/chromatic.yml

+9-19
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,21 @@
1-
name: 'Chromatic'
1+
name: Chromatic
22
on: push
33
jobs:
44
publish:
55
runs-on: ubuntu-latest
66
steps:
7-
# https://github.com/actions/checkout
8-
- uses: actions/checkout@v4
7+
- uses: actions/checkout@v3
98
with:
109
fetch-depth: 0
11-
12-
# https://nodejs.org/api/corepack.html
13-
- name: Enable corepack (for pnpm)
14-
run: corepack enable
15-
16-
# https://github.com/actions/setup-node
17-
- name: Setup Node.js
18-
uses: actions/setup-node@v4
10+
- name: Install Node.js
11+
uses: actions/setup-node@v3
1912
with:
20-
cache: pnpm
2113
node-version: 20
22-
23-
# https://pnpm.io/cli/install
24-
- name: Install Node.js dependencies with pnpm
25-
run: >
26-
pnpm install
27-
--frozen-lockfile
28-
14+
- name: Install dependencies
15+
uses: pnpm/action-setup@v2
16+
with:
17+
version: 8
18+
run_install: true
2919
- name: Publish to Chromatic
3020
uses: chromaui/action@v1
3121
with:

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"svelte-check": "^3.5.0",
8989
"svelte-jester": "^2.3.2",
9090
"svelte-loader": "^3.1.7",
91+
"svelte-package": "^0.1.0",
9192
"typescript": "^5.1.6",
9293
"vite": "^4.4.3",
9394
"vitest": "^0.33.0"

0 commit comments

Comments
 (0)