mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-26 13:22:50 -05:00
Bunified translation-progress.yml
This commit is contained in:
16
.github/workflows/translation-progress.yml
vendored
16
.github/workflows/translation-progress.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user