new service VIKI.com #203
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: New Language | |
on: | |
issues: | |
types: [opened, edited] | |
jobs: | |
add_new_language: | |
name: Add new language | |
if: ${{ startsWith(github.event.issue.title, 'Add new language') }} | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 7 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install | |
- name: Add language | |
uses: ./.github/actions/add-language | |
with: | |
trakt-tools-bot-token: '${{ secrets.TRAKT_TOOLS_BOT_TOKEN }}' | |
crowdin-api-key: '${{ secrets.CROWDIN_API_KEY }}' | |
crowdin-project-id: '${{ secrets.CROWDIN_PROJECT_ID }}' |