chore: change to 2.5.1 #232
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test documentations | |
on: | |
push: | |
paths: | |
- "docs~/**" | |
pull_request: | |
branches: | |
- master | |
paths: | |
- "docs~/**" | |
workflow_dispatch: | |
jobs: | |
test-deploy: | |
name: Test deployment | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: npm | |
cache-dependency-path: docs~/package-lock.json | |
- name: Install dependencies | |
run: cd docs~ && npm ci | |
- name: Prepare i18n | |
run: cd docs~ && node prepare_i18n.js | |
- name: Test build website | |
run: cd docs~ && npm run build |