Skip to content

Commit

Permalink
Merge branch 'main' into deps/update-merged-babel-proposal-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
rapsealk committed Nov 7, 2024
2 parents 9411071 + 6002459 commit 6c13996
Show file tree
Hide file tree
Showing 404 changed files with 80,898 additions and 74,884 deletions.
44 changes: 44 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,62 @@
"Backendai",
"backendaiclient",
"backendaioptions",
"baseversion",
"cssinjs",
"cuda",
"FGPU",
"filebrowser",
"Frgmt",
"Frgmts",
"Gaudi",
"keypair",
"Lablup",
"OPENBLAS",
"Popconfirm",
"preopen",
"RNGD",
"shmem",
"superadmin",
"textbox",
"vaadin",
"vfolder",
"vfolders",
"Warboy",
"webcomponent",
"webui",
"wsproxy"
],
"flagWords": [
"데이터레이크",
"데이터셋",
"데스크톱",
"라이센스",
"런쳐",
"리파지토리",
"리포지토리",
"맵퍼",
"비지니스",
"스케쥴",
"스케쥴링",
"설루션",
"셋트",
"",
"아키텍쳐",
"아답타",
"아답터",
"어댑타",
"아댑타",
"어플리케이션",
"어플리캐이션",
"억세스",
"어플",
"애플",
"웤로드",
"워크플로우",
"프레임웍",
"프레임웤",
"프래임워크",
"파트너쉽",
"쓰레드"
]
}
31 changes: 17 additions & 14 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
maintenance:dependencies:
- scripts/**/*
area:ux:
- changed-files:
- any-glob-to-any-file:
- resources/fonts/*
- resources/icons/*
- resources/*.css
- src/plastics/**/*
- resources/i18n/*

field:UI / UX:
- resources/fonts/*
- resources/icons/*
- resources/*.css
- src/plastics/**/*
- resources/i18n/*
area:lib:
- changed-files:
- any-glob-to-any-file:
- src/lib/**/*
- src/wsproxy/**/*

field:library / SDK:
- resources/lib/**/*
- resources/wsproxy/**/*

field:localization:
- resources/i18n/*
area:i18n:
- changed-files:
- any-glob-to-any-file:
- resources/i18n/*
11 changes: 7 additions & 4 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,24 @@ on:
issues:
types:
- opened
pull_request:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
name: Add issue or pull request to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.5.0
- uses: actions/add-to-project@v1.0.2
with:
# You can target a repository in a different organization
# to the issue
project-url: https://github.com/orgs/lablup/projects/13
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
- uses: actions/add-to-project@v0.5.0
- uses: actions/add-to-project@v1.0.2
with:
# You can target a repository in a different organization
# to the issue
project-url: https://github.com/orgs/lablup/projects/20
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
33 changes: 27 additions & 6 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,49 @@ on:
defaults:
run:
working-directory: ./react

jobs:
coverage:
permissions:
checks: write
pull-requests: write
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jwalton/gh-find-current-pr@v1
id: findPr
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: npm install
run: pnpm install
- name: Run ESLint on React
run: npx eslint ./src --ignore-pattern '*.test.*' --max-warnings=0
run: pnpm eslint ./src --ignore-pattern '*.test.*' --max-warnings=0
- name: run relay-compiler
run: npm run relay
run: pnpm run relay
- name: Jest report
uses: ArtiomTr/jest-coverage-report-action@v2
with:
skip-step: install
working-directory: ./react
package-manager: npm
test-script: npm run test
package-manager: pnpm
test-script: pnpm run test
prnumber: ${{ steps.findPr.outputs.number }}
annotations: failed-tests
2 changes: 1 addition & 1 deletion .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- name: size-label
Expand Down
33 changes: 30 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,48 @@ on:

jobs:
build_mac:
permissions:
contents: write
checks: write
actions: read
issues: read
packages: write
pull-requests: read
repository-projects: read
statuses: read
runs-on: [self-hosted, macOS, ARM64]
environment: app-packaging
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js and NPM
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
# cache: 'pnpm'
# - name: Get pnpm store directory
# shell: bash
# run: |
# echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
# - uses: actions/cache@v4
# name: Setup pnpm cache
# with:
# path: ${{ env.STORE_PATH }}
# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
# restore-keys: |
# ${{ runner.os }}-pnpm-store-
- name: Install Dependencies
run: npm install
run: pnpm install
- name: Package Desktop Applications
run: make all
env:
BAI_APP_SIGN: 1
BAI_APP_SIGN_APPLE_TEAM_ID: ${{ secrets.BAI_APP_SIGN_APPLE_TEAM_ID }}
BAI_APP_SIGN_APPLE_ID: ${{ secrets.BAI_APP_SIGN_APPLE_ID }}
BAI_APP_SIGN_APPLE_ID_PASSWORD: ${{ secrets.BAI_APP_SIGN_APPLE_ID_PASSWORD }}
BAI_APP_SIGN_IDENTITY: ${{ secrets.BAI_APP_SIGN_IDENTITY }}
Expand Down
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
pnpm-error.log*

# Runtime data
pids
Expand Down Expand Up @@ -128,3 +130,12 @@ src/plugins/*

#
!.vscode/i18n-ally-*


# Ignore all other lock files
package-lock.json
yarn.lock
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node-linker=hoisted
public-hoist-pattern = *
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
src/lib/
!/src
!/react
!/e2e
**/__generated__/*.graphql.ts
*.graphql
Loading

0 comments on commit 6c13996

Please sign in to comment.