Skip to content

Commit 2cce4c0

Browse files
committed
updated svelte and vue publish workflow
1 parent d2201f6 commit 2cce4c0

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/npmPublish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Build package-react
3232
working-directory: ./package-react
33-
run: npm run build # If you have a build step, otherwise remove this step
33+
run: npm run build
3434

3535
- name: Publish package-react
3636
working-directory: ./package-react
@@ -48,14 +48,15 @@ jobs:
4848
uses: actions/setup-node@v4
4949
with:
5050
node-version: '20' # Use Node.js version 20
51+
registry-url: 'https://registry.npmjs.org'
5152

5253
- name: Install dependencies for package-svelte
5354
working-directory: ./package-svelte
54-
run: npm install
55+
run: npm ci
5556

5657
- name: Build package-svelte
5758
working-directory: ./package-svelte
58-
run: npm run build # If you have a build step, otherwise remove this step
59+
run: npm run build
5960

6061
- name: Publish package-svelte
6162
working-directory: ./package-svelte
@@ -73,14 +74,15 @@ jobs:
7374
uses: actions/setup-node@v4
7475
with:
7576
node-version: '20' # Use Node.js version 20
77+
registry-url: 'https://registry.npmjs.org'
7678

7779
- name: Install dependencies for package-vue
7880
working-directory: ./package-vue
79-
run: npm install
81+
run: npm ci
8082

8183
- name: Build package-vue
8284
working-directory: ./package-vue
83-
run: npm run build # If you have a build step, otherwise remove this step
85+
run: npm run build
8486

8587
- name: Publish package-vue
8688
working-directory: ./package-vue

0 commit comments

Comments
 (0)