Skip to content

Commit

Permalink
Run CI on PRs, fix lint + ts
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed Aug 19, 2019
1 parent f79e090 commit 57264d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
@@ -1,6 +1,6 @@
name: Node CI

on: push
on: [push, pull_request]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion src/NativeSafeAreaView.web.tsx
Expand Up @@ -31,7 +31,7 @@ export default function NativeSafeAreaView({
paddingBottom,
paddingLeft,
paddingRight,
} = getComputedStyle(element);
} = window.getComputedStyle(element);

const insets = {
top: paddingTop ? parseInt(paddingTop, 10) : 0,
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Expand Up @@ -10,6 +10,7 @@
"module": "commonjs",
"strict": true,
"moduleResolution": "node",
"skipLibCheck": true,
"lib": ["dom", "es2015", "es2016", "esnext"],
"jsx": "react-native"
},
Expand Down

0 comments on commit 57264d4

Please sign in to comment.