mirror of
https://github.com/meshtastic/web.git
synced 2026-04-19 21:37:19 -04:00
* `feat: added internationalization lib, added english labels` * `fixes from code review` * `feat: add crowdin github actions` * `fix: added support for i18n in testing. Fixed broken tests` * `fix: missing translations` * `removed unneded import` * `more components updated with missing translations` * `fixed lint issue` * `Refactor: updated how translations are scoped, updated all references` * `fixing broken tests` * `feat: added language switcher, updated some translations` * `fixed linting issues` * `reverting vite config` * `add english group id's to command palette` * `updated PR template for i18n`
51 lines
997 B
YAML
51 lines
997 B
YAML
name: Push to Main CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: write
|
|
packages: write
|
|
|
|
jobs:
|
|
build-and-package:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Deno
|
|
uses: denoland/setup-deno@v2
|
|
with:
|
|
deno-version: v2.x
|
|
|
|
- name: Install Dependencies
|
|
run: deno install
|
|
|
|
- name: Cache Deno dependencies
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: |
|
|
~/.cache/deno
|
|
./deno.lock
|
|
key: ${{ runner.os }}-deno-${{ hashFiles('**/deno.lock') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-deno-
|
|
|
|
- name: Cache Dependencies
|
|
run: deno cache src/index.tsx
|
|
|
|
- name: Run linter
|
|
run: deno task lint
|
|
|
|
- name: Check formatter
|
|
run: deno task format --check
|
|
|
|
- name: Run tests
|
|
run: deno task test
|
|
|
|
- name: Build Package
|
|
run: deno task build
|