Skip to content

Commit 96a7a25

Browse files
committed
ci: test and make releases from other branches
1 parent 14cf342 commit 96a7a25

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ on:
33
push:
44
branches:
55
- master
6+
- v[0-9]+.[0-9]+.[0-9]+
67

78
jobs:
89
release:
910
name: release
1011
runs-on: ubuntu-latest
1112
steps:
12-
- uses: actions/checkout@master
13+
- uses: actions/checkout@v2
1314
- uses: actions/setup-node@v1
1415
with:
1516
node-version: "12.x"

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- master
6+
- v[0-9]+.[0-9]+.[0-9]+
67
pull_request:
78
types: [opened, synchronize]
89

@@ -14,7 +15,7 @@ jobs:
1415
node_version: [10, 12, 14]
1516

1617
steps:
17-
- uses: actions/checkout@master
18+
- uses: actions/checkout@v2
1819
- name: Use Node.js ${{ matrix.node_version }}
1920
uses: actions/setup-node@v1
2021
with:

0 commit comments

Comments
 (0)