fix actions
This commit is contained in:
parent
160daec163
commit
e930bdae15
|
@ -2,9 +2,9 @@ name: CI
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ '*' ]
|
||||
branches: ["*"]
|
||||
pull_request:
|
||||
branches: [ '*' ]
|
||||
branches: ["*"]
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ name: Publish
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ 'master' ]
|
||||
branches: ["master"]
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue