Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit d5cc3ed

Browse files
committed
feat(ci): lets see if it works with main as new master
1 parent 5d9fcd6 commit d5cc3ed

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

.github/workflows/ci.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@ name: ci
22

33
on:
44
pull_request:
5-
branches:
6-
- master
7-
- dev
5+
branches: [$default-branch, next]
86

97
jobs:
108
test-and-release:
119
name: Run tests
1210
runs-on: ubuntu-18.04
1311
steps:
1412
- name: Checkout
15-
uses: actions/checkout@v1
13+
uses: actions/checkout@v2
1614
- name: Setup Node.js
1715
uses: actions/setup-node@v1
1816
with:

.github/workflows/release.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
name: Release
22
on:
33
push:
4-
branches:
5-
- master
4+
branches: [$default-branch, next]
65
jobs:
76
release:
87
name: Run test and Release
98
runs-on: ubuntu-18.04
109
steps:
1110
- name: Checkout
12-
uses: actions/checkout@v1
11+
uses: actions/checkout@v2
1312
- name: Setup Node.js
1413
uses: actions/setup-node@v1
1514
with:

package.json

+15-7
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@
1414
"publishConfig": {
1515
"access": "public"
1616
},
17+
"release": {
18+
"branches": [
19+
"+([0-9])?(.{+([0-9]),x}).x",
20+
"main",
21+
"next",
22+
"next-major",
23+
{ "name": "beta", "prerelease": true },
24+
{ "name": "alpha", "prerelease": true }
25+
]
26+
},
1727
"scripts": {
1828
"serve": "vue-cli-service serve",
1929
"build": "vue-cli-service build --target lib --name as-dynamic-forms src/index.js",
@@ -25,12 +35,6 @@
2535
"semantic-release": "semantic-release"
2636
},
2737
"main": "dist/as-dynamic-forms.common.js",
28-
"dependencies": {
29-
"bootstrap": "^4.5.0",
30-
"core-js": "^3.6.5",
31-
"sass-resources-loader": "^2.0.3",
32-
"vue": "^2.6.11"
33-
},
3438
"devDependencies": {
3539
"@vue/cli-plugin-babel": "4.5.3",
3640
"@vue/cli-plugin-eslint": "4.5.3",
@@ -50,6 +54,10 @@
5054
"vue-select": "3.10.7",
5155
"vue-template-compiler": "2.6.11",
5256
"vuepress": "1.5.3",
53-
"semantic-release": "17.1.1"
57+
"semantic-release": "17.1.1",
58+
"bootstrap": "^4.5.0",
59+
"core-js": "^3.6.5",
60+
"sass-resources-loader": "^2.0.3",
61+
"vue": "^2.6.11"
5462
}
5563
}

0 commit comments

Comments
 (0)