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

32 lines
878 B
YAML

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
# 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: |
yarn install-r
yarn add tsx
yarn check-all-inflections