Skip to content

Commit f56d77f

Browse files
author
Robert Jackson
authored
Merge pull request #6 from jeannettetang/master
Github Actions
2 parents 53ab363 + 7fce73a commit f56d77f

3 files changed

Lines changed: 66 additions & 25 deletions

File tree

.github/workflows/ci.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- 'v*' # older version branches
8+
tags:
9+
- '*'
10+
pull_request: {}
11+
schedule:
12+
- cron: '0 6 * * 0' # weekly, on sundays
13+
14+
jobs:
15+
lint:
16+
name: Linting
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: actions/checkout@v1
21+
- uses: actions/setup-node@v1
22+
with:
23+
node-version: 12.x
24+
- name: install yarn
25+
run: npm install -g yarn
26+
- name: install dependencies
27+
run: yarn install
28+
- name: linting
29+
run: yarn lint
30+
31+
test:
32+
name: Tests
33+
runs-on: ubuntu-latest
34+
35+
strategy:
36+
matrix:
37+
node: ['^8.12.0', '10', '12']
38+
39+
steps:
40+
- uses: actions/checkout@v1
41+
- uses: actions/setup-node@v1
42+
with:
43+
node-version: ${{ matrix.node }}
44+
- name: install yarn
45+
run: npm install --global yarn
46+
- name: install dependencies
47+
run: yarn
48+
- name: test
49+
run: yarn test
50+
51+
floating-test:
52+
name: Floating dependencies
53+
runs-on: ubuntu-latest
54+
55+
steps:
56+
- uses: actions/checkout@v1
57+
- uses: actions/setup-node@v1
58+
with:
59+
node-version: '12.x'
60+
- name: install yarn
61+
run: npm install -g yarn
62+
- name: install dependencies
63+
run: yarn install --no-lockfile
64+
- name: test
65+
run: yarn test

.travis.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ember-cli-htmlbars-inline-precompile-codemod
22

3-
[![Build Status](https://travis-ci.com/ember-codemods/ember-cli-htmlbars-inline-precompile-codemod.svg?branch=master)](https://travis-ci.com/ember-codemods/ember-cli-htmlbars-inline-precompile-codemod)
3+
<a href="https://github.com/ember-codemods/ember-cli-htmlbars-inline-precompile-codemod/actions"><img alt="Build Status" src="https://github.com/ember-codemods/ember-cli-htmlbars-inline-precompile-codemod/workflows/CI/badge.svg"></a>
44
[![npm version](https://badge.fury.io/js/ember-cli-htmlbars-inline-precompile-codemod.svg)](https://badge.fury.io/js/ember-cli-htmlbars-inline-precompile-codemod)
55

66
A collection of codemod's for ember-cli-htmlbars-inline-precompile-codemod.

0 commit comments

Comments
 (0)