Skip to content

Commit

Permalink
chore: format all files (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Mar 24, 2024
1 parent 89f4809 commit 8fc3a91
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ name: Node.js CI

on:
push:
branches: [ "main" ]
branches: ['main']
pull_request:
branches: [ "main" ]
branches: ['main']

jobs:
build:

runs-on: ubuntu-latest

strategy:
Expand All @@ -20,12 +19,12 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
1 change: 0 additions & 1 deletion fixtures/Foo.mist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export function Bar({ children, barSize, x, ...props }: BarProps) {

type BazProps = {
children?: React.ReactNode

} & JSX.IntrinsicElements['p']

export function Baz({ children, ...props }: BazProps) {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
},
"include": ["**/*.tsx"],
"exclude": ["node_modules"]
}
}

0 comments on commit 8fc3a91

Please sign in to comment.