File tree 2 files changed +50
-0
lines changed
2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' ci'
2
+ on :
3
+ push :
4
+ branches :
5
+ - ' **'
6
+ pull_request :
7
+ branches :
8
+ - main
9
+ jobs :
10
+ test :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+
15
+ - name : Install pnpm
16
+ uses : pnpm/action-setup@v2
17
+
18
+ - name : Set node version to 16
19
+ uses : actions/setup-node@v2
20
+ with :
21
+ node-version : 16
22
+ cache : ' pnpm'
23
+
24
+ - run : pnpm install
25
+
26
+ - name : Run tests
27
+ run : pnpm test
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ tags :
4
+ - ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
5
+
6
+ name : Create Release
7
+
8
+ jobs :
9
+ build :
10
+ name : Create Release
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout code
14
+ uses : actions/checkout@master
15
+ - name : Create Release for Tag
16
+ id : release_tag
17
+ uses : yyx990803/release-tag@master
18
+ env :
19
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
+ with :
21
+ tag_name : ${{ github.ref }}
22
+ body : |
23
+ Please refer to [CHANGELOG.md](https://github.com/vitejs/vite-plugin-vue2/blob/main/CHANGELOG.md) for details.
You can’t perform that action at this time.
0 commit comments