mirror of
https://github.com/android-actions/setup-android
synced 2024-11-26 15:08:25 -08:00
30 lines
577 B
YAML
30 lines
577 B
YAML
|
name: build-test
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
paths-ignore:
|
||
|
- '**.md'
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
- releases/*
|
||
|
paths-ignore:
|
||
|
- '**.md'
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ${{ matrix.operating-system }}
|
||
|
strategy:
|
||
|
matrix:
|
||
|
operating-system: [ubuntu-latest, windows-latest, macos-latest]
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Setup node 12
|
||
|
uses: actions/setup-node@v1
|
||
|
with:
|
||
|
node-version: 12.x
|
||
|
- run: npm ci
|
||
|
- run: npm run build
|
||
|
- run: npm run format-check
|
||
|
- run: npm test
|