From f796b391e4bfb444b16911c2e097319388e8ea94 Mon Sep 17 00:00:00 2001 From: Daan Wijns Date: Sun, 3 Dec 2023 09:26:49 +0100 Subject: [PATCH] chore: run lint on translations --- .github/workflows/translations.yml | 18 ++++++++++++++++++ CHANGELOG.md | 23 +++++++++++++---------- 2 files changed, 31 insertions(+), 10 deletions(-) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index e108cdca..de98ec16 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -17,11 +17,29 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '18' + + - name: Build Node.js cache + uses: actions/cache@v3 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: ${{ runner.os }}-node + + - name: Install dependencies + run: npm ci + - name: Update locales run: | curl -H 'X-API-KEY: ${{ secrets.TOLGEE_TOKEN }}' 'https://app.tolgee.io/v2/projects/export' -o locales.zip unzip -o -d ./src/locales locales.zip + - name: Lint + run: npm run lint + - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 16736945..4c6f4b7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,24 +2,27 @@ ## [2.3.0](https://github.com/WDaan/VueTorrent/compare/v2.2.0...v2.3.0) (2023-11-29) - ### Features -* **history:** Add history to some fields ([#1361](https://github.com/WDaan/VueTorrent/issues/1361)) ([ef50c6c](https://github.com/WDaan/VueTorrent/commit/ef50c6c3411ce4745ed79eae3c156250fe68a7f4)) -* **Settings:** Handle tab routes in settings ([#1355](https://github.com/WDaan/VueTorrent/issues/1355)) ([fdad814](https://github.com/WDaan/VueTorrent/commit/fdad814b1fabf9b3f141f5685fc9291434866e26)) - +- **history:** Add history to some fields ([#1361](https://github.com/WDaan/VueTorrent/issues/1361)) + ([ef50c6c](https://github.com/WDaan/VueTorrent/commit/ef50c6c3411ce4745ed79eae3c156250fe68a7f4)) +- **Settings:** Handle tab routes in settings ([#1355](https://github.com/WDaan/VueTorrent/issues/1355)) + ([fdad814](https://github.com/WDaan/VueTorrent/commit/fdad814b1fabf9b3f141f5685fc9291434866e26)) ### Bug Fixes -* **Advanced:** Network interfaces doesn't fill properly ([#1337](https://github.com/WDaan/VueTorrent/issues/1337)) ([3c44709](https://github.com/WDaan/VueTorrent/commit/3c447098c63c2fd758947067f3a3c2b3ea763078)) -* **tabs:** Remove swipe gestures ([#1356](https://github.com/WDaan/VueTorrent/issues/1356)) ([41e021c](https://github.com/WDaan/VueTorrent/commit/41e021c63c67e87146f354f6c5aecbb6906486ee)) - +- **Advanced:** Network interfaces doesn't fill properly ([#1337](https://github.com/WDaan/VueTorrent/issues/1337)) + ([3c44709](https://github.com/WDaan/VueTorrent/commit/3c447098c63c2fd758947067f3a3c2b3ea763078)) +- **tabs:** Remove swipe gestures ([#1356](https://github.com/WDaan/VueTorrent/issues/1356)) + ([41e021c](https://github.com/WDaan/VueTorrent/commit/41e021c63c67e87146f354f6c5aecbb6906486ee)) ### Improvements -* Add download path management ([#1359](https://github.com/WDaan/VueTorrent/issues/1359)) ([988ecaa](https://github.com/WDaan/VueTorrent/commit/988ecaaa03116c2c4fa9a4cbb4ce4e284fa4c7c3)) -* add translations cron ([#1367](https://github.com/WDaan/VueTorrent/issues/1367)) ([02d97f5](https://github.com/WDaan/VueTorrent/commit/02d97f5283cf7f6d9f6a0fff42f07287c9c8f2dd)) -* **localization:** Add missing keys to Tolgee ([#1349](https://github.com/WDaan/VueTorrent/issues/1349)) ([3adeea4](https://github.com/WDaan/VueTorrent/commit/3adeea456f7f74307f1e221be506f72ed9d94ea0)) +- Add download path management ([#1359](https://github.com/WDaan/VueTorrent/issues/1359)) + ([988ecaa](https://github.com/WDaan/VueTorrent/commit/988ecaaa03116c2c4fa9a4cbb4ce4e284fa4c7c3)) +- add translations cron ([#1367](https://github.com/WDaan/VueTorrent/issues/1367)) ([02d97f5](https://github.com/WDaan/VueTorrent/commit/02d97f5283cf7f6d9f6a0fff42f07287c9c8f2dd)) +- **localization:** Add missing keys to Tolgee ([#1349](https://github.com/WDaan/VueTorrent/issues/1349)) + ([3adeea4](https://github.com/WDaan/VueTorrent/commit/3adeea456f7f74307f1e221be506f72ed9d94ea0)) ## [2.2.0](https://github.com/WDaan/VueTorrent/compare/v2.1.1...v2.2.0) (2023-11-20)