Skip to content

[erc721-with-landtype-multiplier] Add strategy erc721-with-landtype-multiplier #1275

[erc721-with-landtype-multiplier] Add strategy erc721-with-landtype-multiplier

[erc721-with-landtype-multiplier] Add strategy erc721-with-landtype-multiplier #1275

Workflow file for this run

name: Test validation
on:
pull_request:
types:
- edited
- labeled
- synchronize
- ready_for_review
- review_requested
- reopened
jobs:
test-validation:
if: contains(toJson(github.event.pull_request.labels), 'validation')
runs-on: ubuntu-latest
env:
PR_TITLE: ${{ github.event.pull_request.title }}
steps:
- uses: actions/checkout@v2.3.4
- name: Create env file
run: |
touch .env
echo PASSPORT_API_KEY=${{ secrets.PASSPORT_API_KEY }} >> .env
echo PASSPORT_SCORER_ID=${{ secrets.PASSPORT_SCORER_ID }} >> .env
- name: yarn install and test validation
run: |
yarn install --frozen-lockfile
VALIDATION=$(echo $PR_TITLE | sed -e 's/.*\[\(.*\)\].*/\1/')
if [ -n "$VALIDATION" ]; then
yarn test:validation --validation=$VALIDATION
fi