Skip to content

Commit ff576ea

Browse files
committed
fix: various updates
1 parent f4f7e92 commit ff576ea

40 files changed

Lines changed: 10543 additions & 23617 deletions

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ updates:
77
time: "05:00"
88
timezone: "UTC"
99
open-pull-requests-limit: 50
10-
- package-ecosystem: "docker"
10+
- package-ecosystem: "npm"
1111
directory: "/"
1212
schedule:
1313
interval: "daily"
1414
time: "05:00"
1515
timezone: "UTC"
1616
open-pull-requests-limit: 50
1717
- package-ecosystem: "npm"
18-
directory: "/"
18+
directory: "/packages/gatsby-theme-minimal/"
1919
schedule:
2020
interval: "daily"
2121
time: "05:00"

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,16 @@ jobs:
6262
run: |
6363
cd examples/gatsby-starter-testing
6464
npm test
65+
- name: Upload Test Coverage - Codecov [examples/gatsby-starter-testing]
66+
if: ${{ always() }}
67+
uses: codecov/codecov-action@v1.5.0
68+
with:
69+
token: ${{ secrets.CODECOV_TOKEN }}
70+
- name: Build [examples/gatsby-starter-testing]
71+
run: |
72+
cd examples/gatsby-starter-testing
73+
npm run build
74+
- name: Test E2E [examples/gatsby-starter-testing]
75+
run: |
76+
cd examples/gatsby-starter-testing
77+
npm run test:e2e

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit "$1"

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install lint-staged

codecov.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
coverage:
2+
precision: 2
3+
round: down
4+
range: "85...100"
5+
status:
6+
project:
7+
default:
8+
target: 85%

examples/gatsby-starter-testing/.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
steps:
2727
- name: Checkout (Latest)
2828
if: github.event.inputs.git-ref == ''
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v2.3.4
3030
- name: Checkout (Custom Ref)
3131
if: github.event.inputs.git-ref != ''
32-
uses: actions/checkout@v2
32+
uses: actions/checkout@v2.3.4
3333
with:
3434
ref: ${{ github.event.inputs.git-ref }}
3535
- name: Setup Node.js ${{ matrix.node-version }}
@@ -91,10 +91,10 @@ jobs:
9191
steps:
9292
- name: Checkout (Latest)
9393
if: github.event.inputs.git-ref == ''
94-
uses: actions/checkout@v2
94+
uses: actions/checkout@v2.3.4
9595
- name: Checkout (Custom Ref)
9696
if: github.event.inputs.git-ref != ''
97-
uses: actions/checkout@v2
97+
uses: actions/checkout@v2.3.4
9898
with:
9999
ref: ${{ github.event.inputs.git-ref }}
100100
- name: Setup Node.js 16.x

examples/gatsby-starter-testing/.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
steps:
2323
- name: Checkout (Latest)
2424
if: github.event.inputs.git-ref == ''
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v2.3.4
2626
- name: Checkout (Custom Ref)
2727
if: github.event.inputs.git-ref != ''
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v2.3.4
2929
with:
3030
ref: ${{ github.event.inputs.git-ref }}
3131
- name: Setup Node.js 16.x
@@ -48,10 +48,10 @@ jobs:
4848
steps:
4949
- name: Checkout (Latest)
5050
if: github.event.inputs.git-ref == ''
51-
uses: actions/checkout@v2
51+
uses: actions/checkout@v2.3.4
5252
- name: Checkout (Custom Ref)
5353
if: github.event.inputs.git-ref != ''
54-
uses: actions/checkout@v2
54+
uses: actions/checkout@v2.3.4
5555
with:
5656
ref: ${{ github.event.inputs.git-ref }}
5757
- name: Setup Node.js 16.x

examples/gatsby-starter-testing/.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v2.3.4
1717
- name: Setup Node.js 16.x
1818
uses: actions/setup-node@v2.1.5
1919
with:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit "$1"

0 commit comments

Comments
 (0)