2021-03-09 12:39:13 +00:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-08-14 11:09:38 +00:00
|
|
|
branches: ["*"]
|
2021-03-09 12:39:13 +00:00
|
|
|
pull_request:
|
2023-08-14 11:09:38 +00:00
|
|
|
branches: ["*"]
|
2021-03-09 12:39:13 +00:00
|
|
|
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
ci:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
|
|
LINGDOCS_DICTIONARY_URL: ${{ secrets.LINGDOCS_DICTIONARY_URL }}
|
2021-03-09 13:20:55 +00:00
|
|
|
LINGDOCS_NPM_TOKEN: ${{ secrets.LINGDOCS_NPM_TOKEN }}
|
2021-03-09 12:39:13 +00:00
|
|
|
steps:
|
2024-08-06 20:17:12 +00:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-node@v4
|
2021-03-09 12:39:13 +00:00
|
|
|
with:
|
2024-08-06 20:17:12 +00:00
|
|
|
node-version: 20
|
2024-08-06 20:21:00 +00:00
|
|
|
cache: "yarn"
|
2022-10-09 06:05:39 +00:00
|
|
|
- name: Install, build, test
|
2022-10-08 17:06:33 +00:00
|
|
|
run: |
|
2022-10-08 18:02:55 +00:00
|
|
|
yarn install-r
|
2022-10-08 17:06:33 +00:00
|
|
|
yarn build-library
|
2024-08-06 20:21:00 +00:00
|
|
|
yarn build-website
|
2023-08-14 11:09:38 +00:00
|
|
|
yarn test --silent
|