pashto-inflector/.github/workflows/check-inflections.yml

32 lines
878 B
YAML
Raw Normal View History

name: Check Inflections
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
env:
LINGDOCS_DICTIONARY_URL: ${{ secrets.LINGDOCS_DICTIONARY_URL }}
LINGDOCS_NPM_TOKEN: ${{ secrets.LINGDOCS_NPM_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: run script
2024-08-06 21:32:32 +00:00
# we need to add tsx here because there is an issue with the older version of tsx
# and fetching the dictionaries
# the other workflows need an older version of node, and the new version of tsx
# requires a newer version of node. So we have to do this to run the script with tsx
run: |
2024-08-06 20:17:12 +00:00
yarn install-r
2024-08-06 21:32:32 +00:00
yarn add tsx
yarn check-all-inflections