feat(scaffolder): Updating templates

This commit is contained in:
blam
2020-02-07 16:35:26 +01:00
parent d85aec4142
commit 2cd3208a66
2 changed files with 40 additions and 1 deletions
@@ -1,5 +1,5 @@
{
"id": "android-kotlin-module",
"id": "android-kotlin-module-template",
"name": "Kotlin Module",
"description": "Kotlin module sample",
"ownerId": "ownerId"
@@ -0,0 +1,39 @@
name: Frontend CI
on:
push:
paths:
- '.'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- name: checkout code
uses: actions/checkout@v1
- name: get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: yarn install, build, and test
working-directory: .
run: |
yarn install
yarn build --if-present
yarn test
env:
CI: true