Assorted Monorepo fixes (#698)
* add npmrc to root * fix: associated updates related to monorepo updates * removed deno plugin * removed deno plugin * updating ci
This commit is contained in:
@@ -29,16 +29,16 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
~/.cache/deno
|
||||
packages/web/deno.lock
|
||||
packages/web/deno.lock
|
||||
key: ${{ runner.os }}-deno-${{ hashFiles('packages/web/deno.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-deno-
|
||||
|
||||
- name: Run linter
|
||||
run: deno task lint
|
||||
run: deno lint
|
||||
|
||||
- name: Check formatter
|
||||
run: deno task format --check
|
||||
run: deno fmt --check
|
||||
|
||||
- name: Build Package
|
||||
run: deno task build
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
name: Crowdin Download Translations Action
|
||||
|
||||
on:
|
||||
schedule: # Every Sunday at midnight
|
||||
- cron: '0 0 * * 0'
|
||||
workflow_dispatch: # Allow manual triggering
|
||||
schedule: # Every Sunday at midnight
|
||||
- cron: "0 0 * * 0"
|
||||
workflow_dispatch: # Allow manual triggering
|
||||
|
||||
jobs:
|
||||
synchronize-with-crowdin:
|
||||
@@ -16,20 +16,20 @@ jobs:
|
||||
- name: Download translations with Crowdin
|
||||
uses: crowdin/github-action@v2
|
||||
with:
|
||||
base_url: 'https://meshtastic.crowdin.com/api/v2'
|
||||
config: 'crowdin.yml'
|
||||
base_url: "https://meshtastic.crowdin.com/api/v2"
|
||||
config: "crowdin.yml"
|
||||
upload_sources: false
|
||||
upload_translations: false
|
||||
download_translations: true
|
||||
localization_branch_name: i18n_crowdin_translations
|
||||
commit_message: 'chore(i18n): New Crowdin Translations by GitHub Action'
|
||||
commit_message: "chore(i18n): New Crowdin Translations by GitHub Action"
|
||||
create_pull_request: true
|
||||
pull_request_title: 'chore(i18n): New Crowdin Translations'
|
||||
pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)'
|
||||
pull_request_base_branch_name: 'main'
|
||||
pull_request_labels: 'i18n'
|
||||
crowdin_branch_name: 'main'
|
||||
pull_request_title: "chore(i18n): New Crowdin Translations"
|
||||
pull_request_body: "New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)"
|
||||
pull_request_base_branch_name: "main"
|
||||
pull_request_labels: "i18n"
|
||||
crowdin_branch_name: "main"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
||||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: 'Nightly Release'
|
||||
name: "Nightly Release"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
|
||||
@@ -28,19 +28,19 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
~/.cache/deno
|
||||
packages/web/deno.lock
|
||||
packages/web/deno.lock
|
||||
key: ${{ runner.os }}-deno-${{ hashFiles('packages/web/deno.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-deno-
|
||||
|
||||
- name: Run linter
|
||||
working-directory: packages/web
|
||||
run: deno task lint
|
||||
run: deno lint
|
||||
|
||||
- name: Check formatter
|
||||
working-directory: packages/web
|
||||
run: deno task format --check
|
||||
run: deno fmt --check
|
||||
|
||||
- name: Build Package
|
||||
working-directory: packages/web
|
||||
run: deno task build
|
||||
run: deno task --filter web build
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
working-directory: packages/web
|
||||
run: deno install
|
||||
|
||||
|
||||
- name: Run tests
|
||||
working-directory: packages/web
|
||||
run: deno task test
|
||||
|
||||
@@ -2,14 +2,14 @@ name: Update Stable Branch from Main on Latest Release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [released]
|
||||
types: [released]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
update-stable-branch:
|
||||
name: Update Stable Branch from Main
|
||||
name: Update Stable Branch from Main
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -43,8 +43,8 @@ jobs:
|
||||
git checkout -b stable ${{ env.MAIN_SHA }}
|
||||
fi
|
||||
|
||||
- name: Reset stable branch to latest main
|
||||
- name: Reset stable branch to latest main
|
||||
run: git reset --hard ${{ env.MAIN_SHA }}
|
||||
|
||||
- name: Force push stable branch
|
||||
run: git push origin stable --force
|
||||
run: git push origin stable --force
|
||||
|
||||
Reference in New Issue
Block a user