add gpay and apple pay #883
This file contains 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: Lint and Format Check on Pull Request | |
on: | |
- pull_request | |
jobs: | |
lint-and-format: | |
name: Run Lint and Format on /hubs, /sdk, and /web | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: js | |
steps: | |
# Check out the repository | |
- uses: actions/checkout@v1 | |
# Install dependencies | |
- run: yarn | |
# Run ESLint + Prettier on /hubs | |
- run: yarn hubs lint --quiet | |
- run: yarn hubs format | |
# Run ESLint + Prettier on /sdk | |
- run: yarn sdk lint --quiet | |
- run: yarn sdk format | |
# Run ESLint + Prettier on /web | |
- run: yarn web lint --quiet | |
- run: yarn web format |