Skip to content

Commit f6355c4

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

File tree

1 file changed

+1
-52
lines changed

1 file changed

+1
-52
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1 @@
1-
name: Test
2-
3-
on:
4-
push:
5-
branches:
6-
- master
7-
8-
pull_request:
9-
types:
10-
- opened
11-
- synchronize
12-
13-
jobs:
14-
test_matrix:
15-
strategy:
16-
matrix:
17-
node-version:
18-
- 10
19-
- 12
20-
- 14
21-
os:
22-
- ubuntu-latest
23-
- macos-latest
24-
- windows-latest
25-
26-
runs-on: ${{ matrix.os }}
27-
28-
steps:
29-
- uses: actions/checkout@v2
30-
- run: git config --global user.name github-actions
31-
- run: git config --global user.email [email protected]
32-
33-
- name: Use Node.js ${{ matrix.node-version }}
34-
uses: actions/setup-node@v1
35-
with:
36-
node-version: ${{ matrix.node-version }}
37-
- 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
42-
test:
43-
runs-on: ubuntu-latest
44-
needs: test_matrix
45-
steps:
46-
- uses: actions/checkout@v2
47-
- name: Use Node.js ${{ matrix.node-version }}
48-
uses: actions/setup-node@v1
49-
with:
50-
node-version: ${{ matrix.node-version }}
51-
- uses: bahmutov/npm-install@v1
52-
- run: npm run lint
1+
content

0 commit comments

Comments
 (0)