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

Skip to content

Commit 302cbfd

Browse files
authored
Update publish.yml
1 parent 0a6a230 commit 302cbfd

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

.github/workflows/publish.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,19 @@ on:
55
types: [created]
66

77
jobs:
8-
publish:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: checkout
12-
uses: actions/checkout@v3
13-
- name: node
14-
uses: actions/setup-node@v3
15-
with:
16-
node-version: 16
17-
registry-url: https://registry.npmjs.org
18-
- name: 🚀 Publish
19-
run: yarn publish --access public
20-
env:
21-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
8+
publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: checkout
12+
uses: actions/checkout@v3
13+
- name: node
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version: 16
17+
registry-url: https://registry.npmjs.org
18+
- name: 🚀 Publish
19+
run: |
20+
npm install --package-lock-only &&
21+
npm publish --access public
22+
env:
23+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)
0