Skip to content

Commit 07a292f

Browse files
committed
Update workflow
1 parent 3ebfe12 commit 07a292f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/publish-to-npm.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,18 @@ jobs:
3333
run: |
3434
cd publish
3535
unzip ${{ env.ASSET_NAME }} -d .
36-
ls -l
3736
rm -f ${{ env.ASSET_NAME }}
37+
ls -l
38+
cd ..
3839
3940
- name: Use Node.js 20
4041
uses: actions/setup-node@v4
4142
with:
4243
node-version: '20'
4344

45+
- name: Install Dependencies
46+
run: npm ci
47+
4448
- name: Set npm Registry URL
4549
run: npm config set registry https://registry.npmjs.org/
4650

@@ -51,6 +55,4 @@ jobs:
5155
run: npm config ls
5256

5357
- name: Publish to npm
54-
run: |
55-
cd publish
56-
npm publish . --access public
58+
run: npm publish

0 commit comments

Comments
 (0)