Feat/update translate example #39
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: ci | |
on: | |
push: | |
branches: [main, develop] | |
pull_request: | |
branches: ['*'] | |
paths-ignore: | |
- 'docs/**' | |
- '.vscode/**' | |
- 'README.md' | |
- '.gitignore' | |
- 'LICENSE' | |
jobs: | |
lint: | |
name: 'Lint' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
name: Install pnpm | |
id: pnpm-install | |
with: | |
version: 9.1.4 | |
run_install: true | |
- run: pnpm format | |
- run: pnpm lint | |
- run: pnpm lint:repo | |
- run: pnpm build | |
test: | |
name: 'Test' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
name: Install pnpm | |
id: pnpm-install | |
with: | |
version: 9.1.4 | |
run_install: true | |
- name: Install Playwright Browsers | |
run: | | |
pnpm install -w playwright | |
pnpm exec playwright install chromium | |
pnpm exec playwright install-deps | |
- name: Run tests | |
run: pnpm test |