mirror of
https://github.com/expo/expo-github-action.git
synced 2026-11-15 17:32:45 -10:00
chore: remove husky and improve ci build message (#128)
* chore: remove husky and improve ci build message * chore: remove the additional macos build check
This commit is contained in:
1 parent
f1fe877592
commit
39b0d361f7
5 files changed
+5
-18
No files matched your search
@@ -17,9 +17,6 @@ jobs:
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
include:
|
||||
- node: 14
|
||||
os: macos-latest
|
||||
checkUpToDate: true
|
||||
- node: 14
|
||||
os: ubuntu-latest
|
||||
checkUpToDate: true
|
||||
@@ -52,4 +49,7 @@ jobs:
|
||||
run: yarn build
|
||||
- name: Build up-to-date
|
||||
if: ${{ matrix.checkUpToDate }}
|
||||
run: git diff --stat --exit-code build
|
||||
run: |
|
||||
echo "⚠️ If this step fails, the build is outdated."
|
||||
echo " > run 'yarn build' and commit changes"
|
||||
git diff --stat --exit-code build
|
||||
@@ -1 +0,0 @@
|
||||
_
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
yarn build
|
||||
git add build
|
||||
+1
-3
@@ -18,8 +18,7 @@
|
||||
"test": "jest",
|
||||
"lint": "tsc --noEmit && eslint .",
|
||||
"build": "node ncc.js",
|
||||
"clean": "rimraf build",
|
||||
"prepare": "husky install"
|
||||
"clean": "rimraf build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@actions/cache": "^1.0.7",
|
||||
@@ -44,7 +43,6 @@
|
||||
"eslint": "^8.2.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"husky": "^6.0.0",
|
||||
"jest": "^27.3.1",
|
||||
"jest-circus": "^27.3.1",
|
||||
"prettier": "^2.4.1",
|
||||
|
||||
@@ -3397,11 +3397,6 @@ humanize-ms@^1.2.1:
|
||||
dependencies:
|
||||
ms "^2.0.0"
|
||||
|
||||
husky@^6.0.0:
|
||||
version "6.0.0"
|
||||
resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
|
||||
integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==
|
||||
|
||||
[email protected]:
|
||||
version "0.4.24"
|
||||
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
|
||||
|
||||
Reference in new issue
Block a user