File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -12,22 +12,20 @@ jobs:
12
12
contents : write
13
13
steps :
14
14
- uses : actions/checkout@v4
15
- with :
16
- fetch-depth : 0
17
15
- uses : actions/setup-node@v4
18
16
with :
19
17
node-version : 18
20
18
cache : npm
21
- cache-dependency-path : package-lock.json
19
+ cache-dependency-path : ./ package-lock.json
22
20
registry-url : " https://registry.npmjs.org"
23
21
- run : npm install
22
+ working-directory : .
24
23
- run : npm run build
25
- - name : Set git user
26
- run : |
27
- git config --global user.email "[email protected] "
28
- git config --global user.name "npm-action"
24
+ working-directory : .
29
25
- run : npm version patch -m "Bump version to %s [skip ci]"
26
+ working-directory : .
30
27
- run : npm publish --access public
28
+ working-directory : .
31
29
env :
32
30
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
33
31
- uses : stefanzweifel/git-auto-commit-action@v5
You can’t perform that action at this time.
0 commit comments