Skip to content
This repository was archived by the owner on May 5, 2024. It is now read-only.

Commit fe5beeb

Browse files
committed
ci: ensure that commitlint runs on the GitHub Action runners
1 parent 8f4b67a commit fe5beeb

File tree

4 files changed

+6
-17
lines changed

4 files changed

+6
-17
lines changed

.github/workflows/pre-release.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
uses: "actions/checkout@v2.3.4"
2020
with:
2121
lfs: true
22+
fetch-depth: 0
2223

2324
- id: "yarn-cache"
2425
run: echo "::set-output name=dir::$(yarn cache dir)"
@@ -27,11 +28,6 @@ jobs:
2728
path: ${{ steps.yarn-cache.outputs.dir }}
2829
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
2930

30-
- uses: "actions/cache@v2.1.5"
31-
with:
32-
path: "node_modules"
33-
key: ${{ runner.os }}-yarn-node-modules${{ hashFiles('**/yarn.lock') }}
34-
3531
- run: "yarn install --frozen-lockfile"
3632
- run: "yarn lint"
3733
- run: "yarn build"

.github/workflows/tagged-release.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
uses: "actions/checkout@v2.3.4"
1818
with:
1919
lfs: true
20+
fetch-depth: 0
2021

2122
- id: "yarn-cache"
2223
run: echo "::set-output name=dir::$(yarn cache dir)"
@@ -25,11 +26,6 @@ jobs:
2526
path: ${{ steps.yarn-cache.outputs.dir }}
2627
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
2728

28-
- uses: "actions/cache@v2.1.5"
29-
with:
30-
path: "node_modules"
31-
key: ${{ runner.os }}-yarn-node-modules${{ hashFiles('**/yarn.lock') }}
32-
3329
- run: "yarn install --frozen-lockfile"
3430
- run: "yarn lint"
3531
- run: "yarn build"

.github/workflows/tests.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
uses: "actions/checkout@v2.3.4"
2222
with:
2323
lfs: true
24+
fetch-depth: 0
2425

2526
- id: "yarn-cache"
2627
run: echo "::set-output name=dir::$(yarn cache dir)"
@@ -29,11 +30,6 @@ jobs:
2930
path: ${{ steps.yarn-cache.outputs.dir }}
3031
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
3132

32-
- uses: "actions/cache@v2.1.5"
33-
with:
34-
path: "node_modules"
35-
key: ${{ runner.os }}-yarn-node-modules${{ hashFiles('**/yarn.lock') }}
36-
3733
- run: "yarn install --frozen-lockfile"
3834
- run: "yarn lint"
3935
- run: "yarn build"

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"test": "yarn jest --env=node --colors",
2020
"build": "lerna run build --stream",
2121
"clean": "lerna run clean --stream && rm -rf node_modules yarn-error.log",
22-
"reinstall": "yarn clean; yarn install",
22+
"reinstall": "yarn clean; yarn install --frozen-lockfile",
2323
"lint": "lerna run lint --stream && yarn run lint:eslint && yarn run lint:prettier && yarn run lint:commits",
2424
"lint:eslint": "eslint --max-warnings=0 $npm_package_config_eslintPaths",
2525
"lint:prettier": "prettier --list-different $npm_package_config_prettierPaths",
@@ -54,5 +54,6 @@
5454
},
5555
"eslintIgnore": [
5656
"!.*.js"
57-
]
57+
],
58+
"dependencies": {}
5859
}

0 commit comments

Comments
 (0)