Skip to content

Commit e1e28fd

Browse files
authored
fix: downgrade gatsby to fix test failure
2 parents 589700b + f6e181d commit e1e28fd

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ on:
33
push:
44
branches-ignore:
55
- master
6-
pull_request:
7-
branches:
8-
- master
96
jobs:
107
build:
118
runs-on: ubuntu-16.04
@@ -15,9 +12,7 @@ jobs:
1512
name: Node ${{ matrix.node }}
1613
steps:
1714
- name: GIT - checkout
18-
uses: actions/checkout@v1
19-
with:
20-
ref: master
15+
uses: actions/checkout@v2
2116

2217
- name: GIT - prepare
2318
run: |

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"babel-plugin-prismjs": "^2.0.1",
1111
"babel-preset-gatsby": "^0.4.1",
1212
"flexboxgrid": "^6.3.1",
13-
"gatsby": "^2.21.13",
13+
"gatsby": "2.22.12",
1414
"gatsby-image": "^2.4.1",
1515
"gatsby-plugin-breadcrumb": "^9.0.2",
1616
"gatsby-plugin-manifest": "^2.4.2",

packages/core/__tests__/__snapshots__/core.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Object {
9898
"getCommands": [Function],
9999
"runCommand": [Function],
100100
},
101-
"root": StringContaining "lesy/packages/core/__tests__",
101+
"root": StringContaining "/packages/core/__tests__",
102102
"runningCommand": null,
103103
"unknownArgs": Array [],
104104
"unknownFlags": Array [],

packages/core/__tests__/core.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ describe("Core", () => {
128128
it("should get complete state", () => {
129129
core["state"].allCommands[3].src = "__DUMMY_SRC__";
130130
expect(core["state"]).toMatchSnapshot({
131-
root: expect.stringContaining("lesy/packages/core/__tests__"),
131+
root: expect.stringContaining("/packages/core/__tests__"),
132132
});
133133
});
134134
it("should call init middleware", () => {

0 commit comments

Comments
 (0)