Fix Venmo: check OneTimeFrequencyMethods (#432) #716
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: Continuous Integration | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 18.17.1 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.17.1 | |
- run: yarn | |
- run: yarn build | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 18.17.1 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.17.1 | |
- run: yarn | |
- run: yarn test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 18.17.1 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.17.1 | |
- run: yarn | |
- run: yarn lint | |
# Not currently working, always some differences | |
# needs-docs-update: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Use Node.js 18.17.1 | |
# uses: actions/setup-node@v1 | |
# with: | |
# node-version: 18.17.1 | |
# - run: yarn | |
# - run: yarn build:donateButtonNext | |
# - name: Get changes | |
# id: get-changes | |
# run: | | |
# if [ -z "$(git status --porcelain=v1 2>/dev/null)" ]; | |
# then echo "::set-output name=changes::false"; | |
# else echo "::set-output name=changes::true"; | |
# fi | |
# - name: Fail if build resulted in changes | |
# id: check-changes | |
# if: steps.get-changes.outputs.changes == 'true' | |
# run: | | |
# echo "Uncommitted build artifacts exist, please check them in." | |
# git status | |
# exit 1 |