trustwallet-assets/.github/workflows/pr-ci.yml
Adam R 5d8ed57d09
Fix build for forks. (#3116)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-07 10:56:27 +02:00

22 lines
420 B
YAML

name: Pull Request CI
on:
push:
branches:
- '*'
- '!master'
pull_request:
branches: [master]
jobs:
pull_request_ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- uses: bahmutov/npm-install@v1
- name: Run check
run: npm run check
- name: Run test
run: npm t