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

3
package-lock.json generated
View File

@ -11,7 +11,8 @@
"cheerio": "^1.0.0-rc.5" "cheerio": "^1.0.0-rc.5"
}, },
"bin": { "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": { "devDependencies": {
"@types/node": "^10.0.0", "@types/node": "^10.0.0",

View File

@ -10,7 +10,7 @@
"types": "dist/lib/index.d.ts", "types": "dist/lib/index.d.ts",
"scripts": { "scripts": {
"build": "tsc && npm run grant-exec-perms", "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", "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" "enable_short_import_path": "npm run build && denoify_enable_short_npm_import_path"
}, },