vue_web_1124 1.0.4 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,37 @@
|
|
1
|
+
name: publish
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
|
8
|
+
permissions:
|
9
|
+
contents: write
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
publish-npm:
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
|
15
|
+
steps:
|
16
|
+
- name: Checkout
|
17
|
+
uses: actions/checkout@v4
|
18
|
+
with:
|
19
|
+
ref: master
|
20
|
+
|
21
|
+
- name: Setup
|
22
|
+
uses: actions/setup-node@v4
|
23
|
+
with:
|
24
|
+
node-version: "20.x"
|
25
|
+
registry-url: https://registry.npmjs.org/
|
26
|
+
|
27
|
+
- name: Publish
|
28
|
+
run: |
|
29
|
+
git config --global user.email "duck@email.com"
|
30
|
+
git config --global user.name "yaya"
|
31
|
+
npm version patch -m "版本更新至%s"
|
32
|
+
npm publish
|
33
|
+
env:
|
34
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
35
|
+
- name: Push
|
36
|
+
run: |
|
37
|
+
git push
|
package/package.json
CHANGED