Skip to content

Relative links

Relative links #27

Workflow file for this run

name: 'build-test'
on:
pull_request:
push:
branches:
- '*'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: |
npm ci
npm run build
npm run package
- name: Lint
run: |
npm run lint
npm run format-check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
with:
file: __tests__/files/README.md
destination: __tests__/files/docs
language_switcher: true
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
- name: List files
run: |
cd ./__tests__/files/docs
ls -la
cat README.fr-FR.md