Feature/855 consent screen UI #717
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: Test - Pull Requests (not to master) | |
on: | |
pull_request: | |
branches-ignore: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: 🏗 Setup repo | |
uses: actions/checkout@v3 | |
- name: 📦 Build, test and lint | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.12.1 | |
- run: corepack enable | |
- run: yarn --immutable | |
- name: Check branch name | |
run: echo ${GITHUB_HEAD_REF} | |
- run: | | |
if [[ ${GITHUB_HEAD_REF} != "master" ]]; then | |
echo "BRANCH_NAME is not set to 'master'" | |
yarn add @tonomy/tonomy-id-sdk@development | |
fi | |
- run: yarn run test | |
- run: yarn run lint | |
- run: yarn run typeCheck |