mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 01:41:37 +03:00
25 lines
564 B
YAML
25 lines
564 B
YAML
name: frontend-test
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'pkg/interface/**'
|
|
- 'pkg/btc-wallet/**'
|
|
- 'pkg/npm/**'
|
|
|
|
jobs:
|
|
frontend-test:
|
|
runs-on: ubuntu-latest
|
|
name: "Test changed frontend packages"
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- run: git fetch --prune
|
|
- name: 'Setup root deps'
|
|
run: npm ci
|
|
- name: 'Setup dependencies'
|
|
run: npm run bootstrap
|
|
- name: 'Run tests'
|
|
run: npm run test -- --since origin/$GITHUB_BASE_REF --include-dependents
|