2024-08-06 20:12:32 +00:00
|
|
|
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
|
2024-08-06 21:26:06 +00:00
|
|
|
cache: "yarn"
|
2024-08-06 20:12:32 +00:00
|
|
|
- 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
|
2024-08-06 20:12:32 +00:00
|
|
|
run: |
|
2024-08-06 20:17:12 +00:00
|
|
|
yarn install-r
|
2024-08-06 21:32:32 +00:00
|
|
|
yarn add tsx
|
2024-08-06 20:12:32 +00:00
|
|
|
yarn check-all-inflections
|