
* localisation for mediaitem context menu * fixes removing songs issue #1442 * aids formatting no more * ok * stop [ci skip] * ci test * stop it * Prettified Code! * prettier update * chore: Prettified Code [ci skip] * shit * chore: Prettified Code [ci skip] * Update stale-issues.yml [ci skip] * Fix LastFM Filter Types * localisation for misc notifications * auto language on oobe * auto language on oobe * attempt at fixing #982 * and this just annoys me [ci skip] * crowdin action * oops * Remove from playlist icon * duplicate item prompt on adding songs to playlist * moved function outside to stop redefine [ci skip] * add playing class to album artwork * Play button for mediaitem-smarthints (#1445) * eslint moment * Update cider-chores.yml * some fixes * crowdin config * no * aa * please * please x2 * just to upload * Update Crowdin configuration file * fuck eslint * Source Update Workflow * Update crowdin translation image. * Implemented mediaSession API functions * Cleaned up playback function, commented mediaKeyFixes * Simplified wsapi renderer calls * Fix duration * Added check * Moved function call * More checks * autoplay persists on app launches * Fix [ci skip] * This is weird [ci skip] * version fix * Fix Co-authored-by: Core <core@coredev.uk> Co-authored-by: coredev-uk <coredev-uk@users.noreply.github.com> Co-authored-by: yazninja <yazlesean@gmail.com> Co-authored-by: Monochromish <79590499+Monochromish@users.noreply.github.com> Co-authored-by: vapormusic <vietanhfat@gmail.com>
117 lines
3 KiB
YAML
117 lines
3 KiB
YAML
name: Cider Chores
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
update-lockfile:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [18]
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
# Make sure the actual branch is checked out when running on pull requests
|
|
ref: ${{ github.head_ref }}
|
|
|
|
- uses: pnpm/action-setup@v2.2.2
|
|
with:
|
|
version: 7
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: "pnpm"
|
|
|
|
- name: Update lockfile
|
|
run: pnpm i --lockfile-only
|
|
|
|
- name: Commit Updated Lockfile
|
|
uses: stefanzweifel/git-auto-commit-action@v4.14.1
|
|
with:
|
|
commit_message: "chore: Updated Lockfile"
|
|
commit_user_name: "cider-chore[bot]"
|
|
commit_user_email: "cider-chore[bot]@users.noreply.github.com"
|
|
|
|
prettier:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [18]
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
# Make sure the actual branch is checked out when running on pull requests
|
|
ref: ${{ github.head_ref }}
|
|
|
|
- name: Prettify code
|
|
run: npm run format:write
|
|
|
|
- name: Commit Prettier Code
|
|
uses: stefanzweifel/git-auto-commit-action@v4.14.1
|
|
with:
|
|
commit_message: "chore: Prettified Code\n [ci skip]"
|
|
commit_user_name: "cider-chore[bot]"
|
|
commit_user_email: "cider-chore[bot]@users.noreply.github.com"
|
|
|
|
update-i18n-source:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [18]
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Update Source Files
|
|
run: cp src/i18n/en_US.json src/i18n/source/en_US.json
|
|
|
|
- name: Commit Updated Source File
|
|
uses: stefanzweifel/git-auto-commit-action@v4.14.1
|
|
with:
|
|
commit_message: "chore: Updated i18n Source\n [ci skip]"
|
|
commit_user_name: "cider-chore[bot]"
|
|
commit_user_email: "cider-chore[bot]@users.noreply.github.com"
|
|
|
|
synchronize-with-crowdin:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ false }} # disable for now
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: crowdin action
|
|
uses: crowdin/github-action@1.4.13
|
|
with:
|
|
upload_translations: true
|
|
download_translations: false
|
|
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
|
|
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
|
source: '/src/i18n/source/**.*'
|
|
translation: '/src/i18n/%locale_with_underscore%.json'
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
|
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|