Initial commit #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build-test: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| cache: npm | |
| - name: Install JS dependencies | |
| run: npm ci | |
| - name: Lint JS | |
| run: npm run lint | |
| - name: Check JS formatting | |
| run: npm run format:check | |
| - name: JS tests | |
| run: npm test | |
| - name: Install SwiftFormat | |
| run: brew install swiftformat | |
| - name: SwiftFormat lint | |
| run: swiftformat --lint . | |
| - name: Swift tests | |
| run: cd SwiftExplorerApp && swift test |