Skip to content

Commit 7b68cc5

Browse files
committed
.
1 parent 4aaed50 commit 7b68cc5

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/npm-publish.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1+
name: prettierForViteReact
12
on:
23
push:
3-
tags: 'v..*'
4-
release:
5-
types: [created]
4+
tags: 'v*.*.*'
5+
release:
6+
types: [created]
67

78
jobs:
89
build:
910
runs-on: ubuntu-latest
1011
steps:
11-
12-
uses: actions/checkout@v3
13-
uses: actions/setup-node@v3
14-
with:
15-
node-version: '20.x'
16-
registry-url: 'https://registry.npmjs.org/'
17-
run: npm install
18-
run: npm test
19-
run: npm publish
20-
env:
21-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: '20.x' # Actualización de la versión de Node.js
16+
registry-url: 'https://registry.npmjs.org/'
17+
- run: npm install
18+
- run: npm test
19+
- run: npm publish
20+
env:
21+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)