Skip to content

Commit

Permalink
Merge pull request #631 from zorkow/develop
Browse files Browse the repository at this point in the history
Version 4
  • Loading branch information
zorkow committed Jan 10, 2022
2 parents 187a5fd + fa4d9fa commit 719573b
Show file tree
Hide file tree
Showing 866 changed files with 176,740 additions and 66,418 deletions.
18 changes: 18 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jsdoc/recommended",
"prettier"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"no-inner-declarations": "off",
"prefer-const": ["error", {"destructuring": "all"}],
"jsdoc/require-param-type": "off",
"jsdoc/require-returns-type": "off"
}
}
13 changes: 8 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,21 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup Speech Rule Engine
run: npm ci; npm run build --if-present; npm run pretest
run: npm ci
- name: Upload build
uses: actions/upload-artifact@v2
with:
name: sre-library
path: lib
path: |
lib
js
package.json
test:

strategy:
matrix:
block: [base, walker, semantic, en, de, fr, es, it, hi/clearspeak, hi/mathspeak, hi/others, hi/symbols, nemeth]
block: [base, walker, semantic, en, ca, de, fr, es, it, hi, nb, nn, nemeth, sv]
needs: setup
runs-on: ubuntu-latest
name: SRE jests tests for ${{ matrix.block }}
Expand All @@ -37,11 +40,11 @@ jobs:
uses: actions/download-artifact@v2
with:
name: sre-library
path: lib
- name: Set up tests
run: |
sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
git submodule update --init --recursive
cd sre-tests; sudo chmod -R 777 .; npm ci
npm ci --ignore-scripts
cd sre-tests; ln -s .. speech-rule-engine; npm ci; sudo chmod -R 777 .;
- name: Run tests for ${{ matrix.block }}
run: npm run actionTest js/json/${{ matrix.block }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ src/closure-library
*.aux
*.log
node_modules/
js/
*.min
9 changes: 0 additions & 9 deletions .jsdoc.json

This file was deleted.

4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"trailingComma": "none"
}
Loading

0 comments on commit 719573b

Please sign in to comment.