Skip to content

Commit 139e690

Browse files
chore(internal): add slightly better logging to scripts (#848)
1 parent 2b1bc88 commit 139e690

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

.github/workflows/ci.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ jobs:
2222
node-version: '18'
2323

2424
- name: Install dependencies
25-
run: |
26-
yarn install
25+
run: yarn install
2726

2827
- name: Check types
29-
run: |
30-
yarn build
28+
run: ./scripts/lint
3129
test:
3230
name: test
3331
runs-on: ubuntu-latest

scripts/format

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
cd "$(dirname "$0")/.."
6+
7+
echo "==> Running eslint --fix"
8+
./node_modules/.bin/eslint --fix --ext ts,js .

scripts/lint

+1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ set -e
44

55
cd "$(dirname "$0")/.."
66

7+
echo "==> Running eslint"
78
./node_modules/.bin/eslint --ext ts,js .

scripts/test

-1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,5 @@ else
5252
echo
5353
fi
5454

55-
# Run tests
5655
echo "==> Running tests"
5756
./node_modules/.bin/jest "$@"

0 commit comments

Comments
 (0)