Skip to content

Commit 6157398

Browse files
committed
move to bottled-ember
1 parent f2aab0a commit 6157398

File tree

9 files changed

+14465
-19833
lines changed

9 files changed

+14465
-19833
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,24 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
jobs:
15-
test:
16-
name: "Tests"
15+
percy:
16+
name: "Percy Tests"
1717
runs-on: ubuntu-latest
1818
env:
1919
PERCY_TOKEN: ee0a9d5c1122d6a21852edf19b5b309aaec18077fb3900c98995c90bc48ed240
20-
RUN_PERCY_TESTS: true
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: actions/setup-node@v3
23+
with:
24+
node-version: 14.x
25+
cache: npm
26+
- run: npm i -g npm@8
27+
- run: npm ci
28+
- run: npx percy exec -- npm run test:docs
29+
30+
test:
31+
name: "Tests"
32+
runs-on: ubuntu-latest
2133

2234
steps:
2335
- uses: actions/checkout@v2

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# compiled output
44
/dist/
5+
/dist-*
56
/tmp/
67

78
# dependencies

config/index.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = function (/* environment */) {
2+
return {
3+
'field-guide': {
4+
name: 'Ember',
5+
tagLine: 'Ember Styleguide',
6+
logo: '/ember-logo.png',
7+
copyright:
8+
'Ember Field Guide is designed to document the [ember-styleguide](https://github.com/ember-learn/ember-styleguide) project. For more information view the [README](https://github.com/ember-learn/ember-styleguide),',
9+
github: 'https://github.com/ember-learn/ember-styleguide',
10+
},
11+
};
12+
};
13+
14+
module.exports['ember-cli-build'] = {
15+
fingerprint: {
16+
extensions: ['js', 'css', 'map'],
17+
},
18+
};

docs-styles/app.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
.self-executing-code-block {
2+
margin-bottom: 2rem;
3+
}
4+
5+
@media only percy {
6+
.hide-in-percy {
7+
visibility: hidden;
8+
}
9+
}
10+
11+
.border-dashed {
12+
border: 1px dashed var(--color-gray-500);
13+
}
14+
15+
.spacer-xsmall {
16+
height: var(--spacing-1);
17+
}
18+
19+
.spacer-small {
20+
height: var(--spacing-2);
21+
}
22+
23+
.spacer-medium {
24+
height: var(--spacing-3);
25+
}
26+
27+
.spacer-large {
28+
height: var(--spacing-4);
29+
}
30+
31+
.spacer-xlarge {
32+
height: var(--spacing-5);
33+
}

0 commit comments

Comments
 (0)