Skip to content

Commit a53764e

Browse files
committed
ci(test): enable builds for renovate branches
See semantic-release/.github#6 (comment)
1 parent d66da18 commit a53764e

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: Test
2-
3-
on:
2+
"on":
43
push:
54
branches:
65
- master
7-
6+
- renovate/**
87
pull_request:
98
types:
109
- opened
1110
- synchronize
12-
1311
jobs:
1412
test_matrix:
1513
strategy:
@@ -22,31 +20,25 @@ jobs:
2220
- ubuntu-latest
2321
- macos-latest
2422
- windows-latest
25-
26-
runs-on: ${{ matrix.os }}
27-
23+
runs-on: "${{ matrix.os }}"
2824
steps:
2925
- uses: actions/checkout@v2
3026
- run: git config --global user.name github-actions
3127
- run: git config --global user.email [email protected]
32-
33-
- name: Use Node.js ${{ matrix.node-version }}
28+
- name: "Use Node.js ${{ matrix.node-version }}"
3429
uses: actions/setup-node@v1
3530
with:
36-
node-version: ${{ matrix.node-version }}
31+
node-version: "${{ matrix.node-version }}"
3732
- uses: bahmutov/npm-install@v1
38-
- run: npm run test:ci
39-
40-
# separate job to set as required in branch protection,
41-
# as the build names above change each time Node versions change
33+
- run: "npm run test:ci"
4234
test:
4335
runs-on: ubuntu-latest
4436
needs: test_matrix
4537
steps:
4638
- uses: actions/checkout@v2
47-
- name: Use Node.js ${{ matrix.node-version }}
39+
- name: "Use Node.js ${{ matrix.node-version }}"
4840
uses: actions/setup-node@v1
4941
with:
50-
node-version: ${{ matrix.node-version }}
42+
node-version: "${{ matrix.node-version }}"
5143
- uses: bahmutov/npm-install@v1
5244
- run: npm run lint

0 commit comments

Comments
 (0)