Skip to content

Commit bab44cb

Browse files
author
Kelly Selden
committed
add windows to github actions
1 parent cd2db31 commit bab44cb

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@ jobs:
2121
- run: npm run lint
2222

2323
test:
24-
timeout-minutes: 10
25-
2624
strategy:
2725
matrix:
2826
os:
2927
- ubuntu-latest
3028
- macos-latest
29+
- windows-latest
3130
node:
3231
- 8
3332
- 13
@@ -40,6 +39,11 @@ jobs:
4039
- os: macos-latest
4140
node: 8
4241
test-command: test:fast
42+
- os: windows-latest
43+
node: 13
44+
- os: windows-latest
45+
node: 8
46+
test-command: test:fast
4347

4448
runs-on: ${{ matrix.os }}
4549

@@ -54,5 +58,6 @@ jobs:
5458

5559
- run: npm ci
5660
- run: npm run ${{ matrix.test-command }}
61+
timeout-minutes: 15
5762
env:
5863
NODE_LTS: ${{ matrix.node == 8 }}

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ All blueprints are up-to-date!`;
243243
codemodsUrl,
244244
codemodsJson,
245245
createCustomDiff,
246-
ignoredFiles: [await getBlueprintFilePath(cwd)],
246+
ignoredFiles: [require('path').relative(cwd, await getBlueprintFilePath(cwd))],
247247
wasRunAsExecutable
248248
})).promise;
249249

src/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ module.exports = async function init({
106106
baseBlueprint,
107107
endBlueprint: blueprint
108108
}),
109-
ignoredFiles: [await getBlueprintFilePath(cwd)],
109+
ignoredFiles: [require('path').relative(cwd, await getBlueprintFilePath(cwd))],
110110
wasRunAsExecutable
111111
})).promise;
112112

src/stage-blueprint-file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const getBlueprintFilePath = require('./get-blueprint-file-path');
44
const run = require('./run');
55

66
async function stageBlueprintFile(cwd) {
7-
let emberCliUpdateJsonPath = await getBlueprintFilePath(cwd);
7+
let emberCliUpdateJsonPath = require('path').relative(cwd, await getBlueprintFilePath(cwd));
88

99
await run(`git add ${emberCliUpdateJsonPath}`);
1010
}

0 commit comments

Comments
 (0)