Skip to content

Commit

Permalink
Merge branch 'main' into appkit-protobutton
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnei committed Dec 6, 2024
2 parents 553ffed + 61cb12a commit 62ed428
Show file tree
Hide file tree
Showing 48 changed files with 5,659 additions and 9,245 deletions.
2 changes: 1 addition & 1 deletion .github/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export PUBLIC_URL=/editor-ui
export VITE_APP_SETTINGS_PATH="/ui/config/editor/editor-settings.toml"
npm run build

FILENAME="oc-editor-$(date --utc +%F).tar.gz"
FILENAME="oc-editor-$(date -u +%F).tar.gz"
cd build
TMP="$(mktemp)"
mv editor-settings.toml "$TMP"
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/check-icla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ on:
jobs:
main:
if: github.event.pull_request.user.login != 'dependabot[bot]'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/setup-python@v5

- name: Install Python module
run: pip install apereocla
run: pip install --break-system-packages apereocla

- name: Check Apereo ICLA for GitHub user
run: apereocla -g "${{ github.event.pull_request.user.login }}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update translations
name: Crowdin » Download translations

on:
schedule:
Expand Down Expand Up @@ -28,14 +28,14 @@ jobs:
run: |
crowdin download --config .crowdin.yaml -b main
- name: add new translations
run: |
git add src/i18n/locales
- name: update language list
working-directory: src/i18n/locales
run: $GITHUB_WORKSPACE/.github/generate-lngs.sh > ../lngs-generated.ts

- name: add new translations
run: |
git add src/i18n/
- name: upload translations
run: |
if git commit -m "Automatically update translation keys"; then
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Crowdin keys
name: Crowdin » Upload keys

on:
push:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/playwright-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Install Playwright
run: npm i -D @playwright/test

- name: Install supported browsers
run: npx playwright install

Expand All @@ -52,6 +49,7 @@ jobs:
run: npx playwright test --config=playwright.config.ts

- name: Upload tests results
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: test-results
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
ssh-keyscan github.com >> ~/.ssh/known_hosts
- name: Wait for previous workflows to finish
uses: softprops/turnstyle@v1
uses: softprops/turnstyle@v2
with:
same-branch-only: false
env:
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
git push origin gh-pages
- name: Add comment with deployment location
uses: thollander/actions-comment-pull-request@v2
uses: thollander/actions-comment-pull-request@v3
with:
message: >
This pull request is deployed at
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/vitest-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Vitest tests

on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Check out source code
uses: actions/checkout@v4

- name: Install Node Dependency
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: npm ci

- name: Execute Vitest tests
run: npm run test
Loading

0 comments on commit 62ed428

Please sign in to comment.