Skip to content

Commit 585b44d

Browse files
committed
chore(ci): migrate to GitHub
1 parent d777e1a commit 585b44d

8 files changed

Lines changed: 254 additions & 138 deletions

File tree

.dependabot/config.yml

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

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: 'npm'
4+
directory: '/'
5+
schedule:
6+
interval: 'daily'
7+
versioning-strategy: 'increase'
8+
ignore:
9+
- dependency-name: 'postcss-*'
10+
update-types: ['version-update:semver-major']
11+
- dependency-name: 'ember-css-modules'
12+
update-types:
13+
['version-update:semver-major', 'version-update:semver-minor']

.github/workflows/ci.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# This workflow is largely based on
2+
# https://github.com/salsify/ember-css-modules/blob/master/.github/workflows/ci.yml
3+
4+
name: CI
5+
6+
# These trigger patterns courtesy of https://github.com/broccolijs/broccoli/pull/436
7+
on:
8+
push:
9+
# filtering branches here prevents duplicate builds from pull_request and push
10+
branches:
11+
- main
12+
- "v*"
13+
# always run CI for tags
14+
tags:
15+
- "*"
16+
17+
# early issue detection: run CI weekly on Sundays
18+
schedule:
19+
- cron: "0 6 * * 0"
20+
21+
env:
22+
CI: true
23+
24+
jobs:
25+
test-floating-deps:
26+
name: Floating Deps
27+
runs-on: ubuntu-20.04
28+
steps:
29+
- name: Checkout Code
30+
uses: actions/checkout@v2
31+
- name: Install Node
32+
uses: actions/setup-node@v2
33+
with:
34+
node-version: 16
35+
- name: Install Dependencies
36+
run: yarn install
37+
- name: Lint JS
38+
run: yarn lint:js
39+
- name: Lint Handlebars
40+
run: yarn lint:hbs
41+
- name: Browser Tests
42+
run: yarn test
43+
44+
test-old-dependencies:
45+
name: Oldest Supported Env
46+
runs-on: ubuntu-20.04
47+
steps:
48+
- name: Checkout Code
49+
uses: actions/checkout@v2
50+
- name: Install Node
51+
uses: actions/setup-node@v2
52+
with:
53+
node-version: 10
54+
- name: Install Dependencies
55+
run: yarn install --ignore-engines
56+
- name: Browser Tests
57+
run: $(yarn bin ember) test
58+
59+
test-try:
60+
name: Ember Try
61+
runs-on: ubuntu-20.04
62+
needs: [test-floating-deps]
63+
strategy:
64+
fail-fast: false
65+
matrix:
66+
scenario:
67+
- ember-lts-3.12
68+
- ember-lts-3.16
69+
- ember-lts-3.20
70+
- ember-lts-3.24
71+
- ember-release
72+
- ember-beta
73+
# https://github.com/emberjs/ember-test-helpers/pull/1066
74+
# - ember-canary
75+
steps:
76+
- name: Checkout Code
77+
uses: actions/checkout@v2
78+
- name: Install Node
79+
uses: actions/setup-node@v2
80+
with:
81+
node-version: 16
82+
- name: Install Dependencies
83+
run: yarn install
84+
- name: Try Scenario
85+
run: yarn ember try:one ${{ matrix.scenario }}

.github/workflows/pr.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: Pull Requests
2+
3+
on:
4+
pull_request:
5+
6+
env:
7+
CI: true
8+
9+
jobs:
10+
test-locked-deps:
11+
name: Locked Deps
12+
runs-on: ubuntu-20.04
13+
steps:
14+
- name: Checkout Code
15+
uses: actions/checkout@v2
16+
- name: Install Node
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: 16
20+
- name: Install Dependencies
21+
run: yarn install --frozen-lockfile
22+
- name: Lint JS
23+
run: yarn lint:js
24+
- name: Lint Handlebars
25+
run: yarn lint:hbs
26+
- name: Browser Tests
27+
run: yarn test
28+
29+
test-old-dependencies:
30+
name: Oldest Supported Env
31+
runs-on: ubuntu-20.04
32+
steps:
33+
- name: Checkout Code
34+
uses: actions/checkout@v2
35+
- name: Install Node
36+
uses: actions/setup-node@v2
37+
with:
38+
node-version: 10
39+
- name: Install Dependencies
40+
run: yarn install --frozen-lockfile --ignore-engines
41+
- name: Browser Tests
42+
run: $(yarn bin ember) test
43+
44+
test-try:
45+
name: Ember Try
46+
runs-on: ubuntu-20.04
47+
strategy:
48+
fail-fast: false
49+
matrix:
50+
scenario:
51+
- ember-lts-3.12
52+
- ember-lts-3.16
53+
- ember-lts-3.20
54+
- ember-lts-3.24
55+
- ember-release
56+
- ember-beta
57+
# https://github.com/emberjs/ember-test-helpers/pull/1066
58+
# - ember-canary
59+
steps:
60+
- name: Checkout Code
61+
uses: actions/checkout@v2
62+
- name: Install Node
63+
uses: actions/setup-node@v2
64+
with:
65+
node-version: 16
66+
- name: Install Dependencies
67+
run: yarn install --frozen-lockfile
68+
- name: Try Scenario
69+
run: yarn ember try:one ${{ matrix.scenario }}

.travis.yml

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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# @clark/ember-css-modules-config
22

3-
[![Build Status](https://travis-ci.org/ClarkSource/ember-css-modules-config.svg)](https://travis-ci.org/ClarkSource/ember-css-modules-config)
3+
[![CI](https://github.com/ClarkSource/ember-css-modules-config/workflows/CI/badge.svg)](https://github.com/ClarkSource/ember-css-modules-config/actions)
44
[![npm version](https://badge.fury.io/js/@clark%2Fember-css-modules-config.svg)](http://badge.fury.io/js/@clark%2Fember-css-modules-config)
55
[![Download Total](https://img.shields.io/npm/dt/@clark%2Fember-css-modules-config.svg)](http://badge.fury.io/js/@clark%2Fember-css-modules-config)
66
[![Ember Observer Score](https://emberobserver.com/badges/-clark-ember-css-modules-config.svg)](https://emberobserver.com/addons/@clark/ember-css-modules-config)
77
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
8-
[![CLARK Open Source](https://img.shields.io/badge/CLARK-Open%20Source-%232B6CDE.svg)](https://www.clark.de/de/jobs)
8+
[![CLARK Open Source](https://img.shields.io/badge/CLARK-Open%20Source-%232B6CDE.svg)](https://www.clark.de/de/jobs)<br>
99
[![Dependabot enabled](https://img.shields.io/badge/dependabot-enabled-blue.svg?logo=dependabot)](https://dependabot.com/)
1010
[![dependencies Status](https://david-dm.org/ClarkSource/ember-css-modules-config/status.svg)](https://david-dm.org/ClarkSource/ember-css-modules-config)
1111
[![devDependencies Status](https://david-dm.org/ClarkSource/ember-css-modules-config/dev-status.svg)](https://david-dm.org/ClarkSource/ember-css-modules-config?type=dev)
@@ -18,7 +18,7 @@ Bootstraps [ember-css-modules][ember-css-modules] with various
1818

1919
## Installation
2020

21-
```
21+
```sh
2222
ember install @clark/ember-css-modules-config
2323
```
2424

0 commit comments

Comments
 (0)