Skip to content

Commit 78adb2c

Browse files
authored
fix: auto-pr (postlight#199)
1 parent c643666 commit 78adb2c

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.circleci/config.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
- run: "yarn install"
99
- run: "yarn lint:ci"
1010
- run: "yarn build"
11-
- run: "yarn test:node -- --maxWorkers=4"
1211
- run: "./scripts/pr-parser-preview.sh"
12+
- run: "yarn test:node -- --maxWorkers=4"
1313

1414
- store_artifacts:
1515
path: tmp/artifacts
@@ -26,6 +26,14 @@ jobs:
2626
- run: "yarn test:web -- --maxWorkers=4"
2727
- run: "yarn build:web -- --maxWorkers=4"
2828

29+
update-fixtures:
30+
docker:
31+
- image: circleci/node:6.14-stretch
32+
steps:
33+
- checkout
34+
- run: "yarn install"
35+
- run: "node ./scripts/update-fixtures.js"
36+
2937

3038
workflows:
3139
version: 2
@@ -43,3 +51,5 @@ workflows:
4351
# branches:
4452
# only:
4553
# - master
54+
# jobs:
55+
# - update-fixtures

scripts/update-fixtures.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const createPR = ({ branchName, title, body = '' }) => {
141141
})
142142

143143
octokit.pulls.create({
144-
owner: 'postlight-bot',
144+
owner: 'postlight',
145145
repo: 'mercury-parser',
146146
title,
147147
head: branchName,

0 commit comments

Comments
 (0)