mirror of
https://gitea.com/actions/setup-android.git
synced 2025-12-13 11:57:18 +00:00
Initial changes for setup-android
This commit is contained in:
29
.github/workflows/build-test.yml
vendored
Normal file
29
.github/workflows/build-test.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
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
|
||||
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@@ -1,13 +0,0 @@
|
||||
name: Main CI
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Setup local Android problem matchers
|
||||
run: |
|
||||
./index.js
|
||||
- name: Print example problems
|
||||
run: |
|
||||
./test.js
|
||||
Reference in New Issue
Block a user