Skip to content

Commit 03fe76f

Browse files
committed
format: publish-npm file
1 parent 38df34a commit 03fe76f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/publish-npm.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ jobs:
1818
publish:
1919
name: Publish NPM
2020
permissions:
21-
contents: write
21+
contents: write
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout repo
2525
uses: actions/checkout@v4
2626

2727
- uses: actions/setup-node@v4
2828
with:
29-
node-version: '20'
30-
cache: 'npm'
31-
registry-url: 'https://registry.npmjs.org'
29+
node-version: "20"
30+
cache: "npm"
31+
registry-url: "https://registry.npmjs.org"
3232

3333
- name: Install dependencies
3434
run: npm ci --ignore-scripts
@@ -56,6 +56,6 @@ jobs:
5656
env:
5757
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5858
run: |
59-
npm publish --tag "${{ inputs.dist-tag }}"
60-
git tag v$(cat package.json | jq .version -r)
61-
git push origin v$(cat package.json | jq .version -r)
59+
npm publish --tag "${{ inputs.dist-tag }}"
60+
git tag v$(cat package.json | jq .version -r)
61+
git push origin v$(cat package.json | jq .version -r)

0 commit comments

Comments
 (0)