Skip to content

Psg 4897 use repo templates #339

Psg 4897 use repo templates

Psg 4897 use repo templates #339

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