From d0832d12f060d95e5798ac8a3f40e9cac4f661db Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sun, 11 Aug 2024 16:13:24 +0300 Subject: [PATCH] Bunified translation-progress.yml --- .github/workflows/translation-progress.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/translation-progress.yml b/.github/workflows/translation-progress.yml index 40d123994..3a735e781 100644 --- a/.github/workflows/translation-progress.yml +++ b/.github/workflows/translation-progress.yml @@ -13,24 +13,16 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup Node.js - uses: actions/setup-node@v2 + - uses: oven-sh/setup-bun@v2 with: - node-version-file: ".nvmrc" - - - name: Cache dependencies - uses: actions/cache@v2 - with: - path: ~/.npm - key: npm-${{ hashFiles('package-lock.json') }} - restore-keys: npm- + bun-version: latest - name: Install dependencies - run: npm ci --ignore-scripts + run: bun install --frozen-lockfile - name: Update translation progress issue env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - npm run check-translation-jsons + bun run check-translation-jsons gh issue edit 1104 --body-file ./translation-progress.md