Skip to content

Commit f72eeea

Browse files
committed
Build before linting
1 parent cc7ffb4 commit f72eeea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/check.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
with:
2626
node-version: lts/jod
2727
- run: npm ci
28+
- run: npm run build
29+
# Bootstrap host package to get weak-node-api and ferric-example to get types
30+
# TODO: Solve this by adding an option to ferric to build only types or by committing the types into the repo as a fixture for an "init" command
31+
- run: npm run bootstrap --workspace react-native-node-api
32+
- run: npm run bootstrap --workspace ferric-example
2833
- run: npm run lint
2934
env:
3035
DEBUG: eslint:eslint

0 commit comments

Comments
 (0)