Files
upload-google-play/.github/workflows/pr-validation.yml
2022-06-15 17:30:19 +12:00

31 lines
666 B
YAML

# This is a basic workflow to help you get started with Actions
name: PR Validation
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Runs a single command using the runners shell
- name: Set up NPM
run: npm ci
# Runs a set of commands using the runners shell
- name: Run Build
run: npm run build
- name: Run Tests
run: npm test