Skip to content

Commit ad3409a

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

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 17 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:
@@ -18,31 +16,26 @@ jobs:
1816
- 10
1917
- 12
2018
- 14
21-
# TODO: enable tests on macos-latest and windows-latest as part of fixing #299
22-
os: [ubuntu-latest]
23-
24-
runs-on: ${{ matrix.os }}
25-
19+
os:
20+
- ubuntu-latest
21+
runs-on: "${{ matrix.os }}"
2622
steps:
2723
- uses: actions/checkout@v2
28-
- name: Use Node.js ${{ matrix.node-version }}
24+
- name: "Use Node.js ${{ matrix.node-version }}"
2925
uses: actions/setup-node@v1
3026
with:
31-
node-version: ${{ matrix.node-version }}
27+
node-version: "${{ matrix.node-version }}"
3228
- uses: bahmutov/npm-install@v1
33-
- run: npm run test:ci
34-
35-
# separate job to set as required in branch protection,
36-
# as the build names above change each time Node versions change
29+
- run: "npm run test:ci"
3730
test:
3831
runs-on: ubuntu-latest
3932
needs: test_matrix
4033
steps:
4134
- uses: actions/checkout@v2
42-
- name: Use Node.js ${{ matrix.node-version }}
35+
- name: "Use Node.js ${{ matrix.node-version }}"
4336
uses: actions/setup-node@v1
4437
with:
45-
node-version: ${{ matrix.node-version }}
38+
node-version: "${{ matrix.node-version }}"
4639
- uses: bahmutov/npm-install@v1
4740
- run: npm run lint
4841
- run: npx lockfile-lint --path package-lock.json

0 commit comments

Comments
 (0)