fix actions

This commit is contained in:
adueck 2023-08-14 15:09:38 +04:00
parent 160daec163
commit e930bdae15
4 changed files with 9 additions and 9 deletions

View File

@ -2,9 +2,9 @@ name: CI
on:
push:
branches: [ '*' ]
branches: ["*"]
pull_request:
branches: [ '*' ]
branches: ["*"]
workflow_dispatch:

View File

@ -2,7 +2,7 @@ name: Publish
on:
push:
branches: [ 'master' ]
branches: ["master"]
workflow_dispatch:

View File

@ -40,7 +40,7 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"install-r": "yarn install && cd src/lib && yarn install && cd ../components && yarn install",
"install-r": "yarn install && node get-words.js && cd src/lib && yarn install && cd ../components && yarn install",
"build-website": "node get-words.js && npm run build",
"build-library": "cd src/components && rimraf dist && tsc --project lib-tsconfig.json && node post-build.cjs && cd ../lib && rimraf dist && tsc --project lib-tsconfig.json && node_modules/rollup/dist/bin/rollup -c",
"test-ci": "npm run test -- --watchAll=false",

View File

@ -402,9 +402,9 @@ function ensure3rdPast(
});
return [aspect === "imperfective" ? accentOnNFromEnd(aawuEnd, 0) : aawuEnd];
}
const endsInDental = ["د", "].includes(rs[0].p.slice(-1));
const abruptEnder = ["د", ", "].includes(rs[0].p.slice(-1));
// short endings like ورسېد
const ends = endsInDental ? [{ p: "", f: "" }, ...ending] : ending;
const ends = abruptEnder ? [{ p: "", f: "" }, ...ending] : ending;
return verbEndingConcat(rs, ends);
}