diff --git a/.github/workflows/l10n-gettext-extract.yml b/.github/workflows/l10n-gettext-extract.yml index dd9b63a9e90..2c84f855944 100644 --- a/.github/workflows/l10n-gettext-extract.yml +++ b/.github/workflows/l10n-gettext-extract.yml @@ -11,10 +11,16 @@ jobs: run: | sudo apt update sudo apt install gettext -y + - name: Clone FxA code repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + with: + fetch-depth: 2 + path: 'fxa-code' + persist-credentials: false - name: Set up Node uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: - node-version-file: '.nvmrc' + node-version-file: 'fxa-code/.nvmrc' - name: Install global npm packages run: | yarn global add grunt-cli @@ -24,12 +30,6 @@ jobs: repository: mozilla/fxa-content-server-l10n path: 'fxa-l10n' persist-credentials: false - - name: Clone FxA code repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - with: - fetch-depth: 2 - path: 'fxa-code' - persist-credentials: false - name: Install npm packages run: | cd fxa-l10n