Do not run tests on window

This commit is contained in:
Joseph Garrone 2021-02-21 23:12:55 +01:00
parent 318bba5936
commit bcf954c4cd
3 changed files with 5 additions and 4 deletions

View File

@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
node: [ '14', '13', '12' ]
os: [ windows-latest, ubuntu-latest ]
os: [ ubuntu-latest ]
name: Test with Node v${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2

3
package-lock.json generated
View File

@ -11,7 +11,8 @@
"cheerio": "^1.0.0-rc.5"
},
"bin": {
"build-keycloak-theme": "dist/bin/build-keycloak-theme"
"build-keycloak-theme": "dist/bin/build-keycloak-theme",
"download-sample-keycloak-themes": "dist/bin/download-sample-keycloak-themes"
},
"devDependencies": {
"@types/node": "^10.0.0",

View File

@ -10,7 +10,7 @@
"types": "dist/lib/index.d.ts",
"scripts": {
"build": "tsc && npm run grant-exec-perms",
"grant-exec-perms": "chmod +x dist/bin/{build-keycloak-theme/index,download-sample-keycloak-themes}.js",
"grant-exec-perms": "cd dist/bin && chmod +x build-keycloak-theme/index.js download-sample-keycloak-themes.js",
"test": "node dist/test/build-keycloak-theme && node dist/test/download-sample-keycloak-themes",
"enable_short_import_path": "npm run build && denoify_enable_short_npm_import_path"
},
@ -43,4 +43,4 @@
"dependencies": {
"cheerio": "^1.0.0-rc.5"
}
}
}