From c8c7b0e1f726272f82fa7336b2657406b073570b Mon Sep 17 00:00:00 2001 From: Frederico Santos Date: Tue, 1 Oct 2024 23:03:13 +0100 Subject: [PATCH] Add recursive submodule checkout to workflow files and update README for translations --- .github/workflows/deploy-beta.yml | 2 ++ .github/workflows/deploy.yml | 2 ++ .github/workflows/eslint.yml | 2 ++ .github/workflows/github-pages.yml | 1 + .github/workflows/test-shard-template.yml | 2 ++ .github/workflows/tests.yml | 1 + README.md | 3 +++ 7 files changed, 13 insertions(+) diff --git a/.github/workflows/deploy-beta.yml b/.github/workflows/deploy-beta.yml index 3af48b400af..d8d8126193d 100644 --- a/.github/workflows/deploy-beta.yml +++ b/.github/workflows/deploy-beta.yml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: 'recursive' - uses: actions/setup-node@v4 with: node-version: "20" diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2364fff5a35..70dc2bfa502 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,6 +10,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: 'recursive' - uses: actions/setup-node@v4 with: node-version: "20" diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index a8eea069ba6..d863c96a643 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -22,6 +22,8 @@ jobs: steps: - name: Check out Git repository # Step to check out the repository uses: actions/checkout@v4 # Use the checkout action version 4 + with: + submodules: 'recursive' - name: Set up Node.js # Step to set up Node.js environment uses: actions/setup-node@v4 # Use the setup-node action version 4 diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index a092ccb425a..58067ac81ac 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -26,6 +26,7 @@ jobs: - name: Checkout repository for Typedoc uses: actions/checkout@v3 with: + submodules: 'recursive' path: pokerogue_docs - name: Install OS package diff --git a/.github/workflows/test-shard-template.yml b/.github/workflows/test-shard-template.yml index ac89b503f0c..185764c86a8 100644 --- a/.github/workflows/test-shard-template.yml +++ b/.github/workflows/test-shard-template.yml @@ -20,6 +20,8 @@ jobs: steps: - name: Check out Git repository uses: actions/checkout@v4 + with: + submodules: 'recursive' - name: Set up Node.js uses: actions/setup-node@v4 with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 66cc3ecc139..d30d8adba38 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,6 +22,7 @@ jobs: - name: Check out Git repository uses: actions/checkout@v4 with: + submodules: 'recursive' path: tests-action - name: Set up Node.js uses: actions/setup-node@v4 diff --git a/README.md b/README.md index b26fd56a7b1..da10290d51d 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,9 @@ We're using ESLint as our common linter and formatter. It will run automatically **How do I test a new _______?** - In the `src/overrides.ts` file there are overrides for most values you'll need to change for testing +**How do I retrieve the translations?** +- The translations were moved to the [dedicated translation repository](https://github.com/pagefaultgames/pokerogue-locales) and are now applied as a submodule in this project. +- The command to retrieve the translations is `git submodule update --init --recursive`. If you still struggle to get it working, please reach out to #dev-corner channel in Discord. ## 🪧 To Do Check out [Github Issues](https://github.com/pagefaultgames/pokerogue/issues) to see how can you help us!