8000 Update publish.yml · sauravhathi/github-folder-tree@5788b99 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5788b99

Browse files
authored
Update publish.yml
1 parent 8696a06 commit 5788b99

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/setup-node@v3
1616
with:
1717
node-version: 16
18-
- run: npm ci
18+
- run: rm -rf node_modules && yarn install --frozen-lockfile
1919

2020
publish-npm:
2121
needs: build
@@ -26,8 +26,8 @@ jobs:
2626
with:
2727
node-version: 16
2828
registry-url: https://registry.npmjs.org/
29-
- run: npm ci
30-
- run: npm run build
31-
- run: npm publish
29+
- run: rm -rf node_modules && yarn install --frozen-lockfile
30+
- run: yarn run build
31+
- run: yarn publish
3232
env:
3333
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)
0