SDK updates #348
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: Run Tests on PR | |
on: | |
pull_request: | |
workflow_dispatch: | |
env: | |
API_KEY: ${{ secrets.API_KEY }} | |
APP_ID: ${{ secrets.APP_ID }} | |
APP_TOKEN: ${{ secrets.APP_TOKEN }} | |
EXAMPLE_USER_ID: ${{ secrets.EXAMPLE_USER_ID }} | |
PUBLIC_KEY: ${{ secrets.PUBLIC_KEY }} | |
jobs: | |
publish: | |
name: Run Tests on PR | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: npm i | |
- name: ESLint Check | |
run: npm run lint:ci | |
- name: Beachball Check | |
run: | | |
npm run beachball-check | |
- name: Build | |
run: npm run set-version && npm run build | |
- name: Unit Test | |
run: npm run test |