Commit graph

203 commits

Author SHA1 Message Date
Masaya Suzuki
ae6af6aefd
Copyrightの年が今年になっているかをチェックするCI追加 (#9580)
* Copyrightの年が今年になっているかをチェックするCI追加

* PRでは動作しないようにする
2023-01-16 06:36:53 +09:00
CyberRex
6e2d7e9792
Use pnpm for package manager (#9531)
* Use pnpm for package manager

* Fix

* Change github workflow

* use pnpm in workflow

* fix

* Fix test (e2e/jest)

* Update Dockerfile for pnpm

* Exclude node_modules from file search on VSCode

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

* Move typescript from devDependencies to dependencies

* Fix Dockerfile

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-01-16 06:08:42 +09:00
Masaya Suzuki
fb0f9711ba
Update actions/github-script (#9588) 2023-01-15 16:14:06 +09:00
Masaya Suzuki
e1159e9ef2
Update actions/checkout (#9587) 2023-01-15 16:03:18 +09:00
Masaya Suzuki
a2e61c6708
CI Publish Docker image (develop) をforkしたリポジトリでは実行しない (#9585) 2023-01-15 15:59:01 +09:00
Masaya Suzuki
726959911c
Update actions/setup-node (#9586) 2023-01-15 15:58:10 +09:00
Masaya Suzuki
d61eee695f
forkしたリポジトリからのPRではCI Destroy preview environment が動作しないようにする (#9559) 2023-01-14 20:10:09 +09:00
Masaya Suzuki
73b62797cd
CI Deploy preview environmentの不要なトリガー削除 (#9558)
* CI Deploy preview environmentの不要なトリガー削除

* 不要な条件削除
2023-01-14 19:51:34 +09:00
syuilo
9384f5399d rename: client -> frontend 2022-12-27 14:36:33 +09:00
tamaina
214de03301
GitHub Actions Test PR: Cache on Lint (#9289)
* update lint.yml

* wip

* fix

* fix

* continue-on-error: true
2022-12-08 03:18:15 +09:00
Marcel
7b6cd6187f
Update docker.yml (#9046)
not only tag 12.118.1; 12 and 12.118 and 12.118.1
2022-12-07 04:32:03 +09:00
tamaina
83e1d53928 fix: lintが動かないのを修正, swもlint 2022-12-05 13:21:44 +00:00
Kainoa Kanter
bdbc448d13
refactor: migrate to Yarn Berry (v3.2.1) (#8764)
* Yarn berry

* Add `.yarn` to dockerignore

* Mention in CHANGELOG

* Update Dockerfile

* Proper upgrade to yarn

* use `"packageManager"`

* Replace `install-packages.js` with workspaces

* Replace `install-packages.js` with workspaces

* Typo

* `corepack enable` for linting

* Remove `packages/*/yarn.lock`

* Improve lint workflow

* Update .github/workflows/lint.yml

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Update .github/workflows/lint.yml

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Add `eslint`

* Regenerate yarn.lock

* 🙏‍

* Update lint.yml

🤔

* Fix workflow!

* yarn lint my beloved

* corepack enable for mocha/e2e

* Update CHANGELOG.md

* fix the code that depends on node_modules

* tbh

* tbh

* More yarn workspaces stuff

* 🍀

* Change `browser-image-resizer`

* :finnadie:

* :goberserk:

* :godmode:

* Remove yarnrc for workspaces

* 🙏

* Add proper packages for eslint

* Skip extra install

* New steps for test.yml too

* uhh

* Update .dockerignore

* Update lint.yml

* Update test.yml

* Make client/backend lints seperate workflows

* package.json names

* pnpm = dont change paths

* Fix changelog

* :bowtie:

* I don't know why github workflows hates me...

* test

* ?????

* continue-on-error: true

* Fix yarn.lock

Co-authored-by: ishowta <ishowta@gmail.com>

* add @rollup/pluginutils

* add packageExtensions for chartjs_date-fns

Co-authored-by: acid-chicken <root@acid-chicken.com>

* npm run => yarn

* wip

* yarn node => node

依存関係の記載不足の解消がかなり多いため、yarn nodeは使わない

* fix

* fix http-signature

* fix

* fix

* add packageExtensions

* ✌️

* remove `yarn set version berry`

* yarn install --immutable

Co-authored-by: ishowta <ishowta@gmail.com>

* https://github.com/misskey-dev/misskey/pull/8764#discussion_r885749892

* enable actions/setup-node's global cache

* Update .gitignore

Co-authored-by: iwata <ishowta@gmail.com>

* revival gulp build
66ab7591bf (r885899944)

* fix lockfile

* Update packages/backend/package.json

Co-authored-by: iwata <ishowta@gmail.com>

* remove packagemanager

* `yarn run gulp` in `build` instead of just `gulp`

* Update CHANGELOG.md

* update lockfile

* Add .yarn/cache to gitignore for packages

* ?

* move resolutions

* ✌️

* update lockfie

* update-lockfile

* update yarn.lock

* fix build

* fix

* fix

* fix: add @tensorflow/tfjs

* ダメ

* modify lockfile

* use yarnrc

* update yarnlock

* add jest-mock

* update-lockfile

* update lockfile

* update lockfile

* move jest-mock, update lockfile

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: ishowta <ishowta@gmail.com>
2022-11-24 15:39:00 +09:00
syuilo
f2663d37e9
Update test.yml 2022-09-20 04:56:19 +09:00
syuilo
b75184ec8e
なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
syuilo
97fe50a376 fix(test): use cypress-io/github-action@v4 2022-06-11 16:00:39 +09:00
tamaina
065aa0f9b6
Display the deploy status on checks (#8803)
* Display deploy status on check suite

* Display deploy status on check suite

* fix

* fix
2022-06-09 05:49:00 +09:00
syuilo
79de4d77f6 chore(dev): update okteto workflow 2022-06-09 01:48:00 +09:00
syuilo
d8eb610aab Update pr-preview-deploy.yml 2022-06-09 01:43:35 +09:00
syuilo
2d6de2299c chore(dev): update okteto workflow 2022-06-09 01:35:57 +09:00
Takuya Yoshida
327c62337e
ok-to-test with okteto (#8799) 2022-06-09 00:50:23 +09:00
Johann150
0263a783a6
fix(dev): no labels for l10n_develop 2022-06-01 09:34:40 +02:00
syuilo
5e55b19247 feat(dev): introduce Pull Request Labeler 2022-05-21 11:41:41 +09:00
Balazs Nadasdi
6a44616725
chore(deps): Update github actions to use the same version as defined in .node-version (#8563) 2022-04-29 10:17:03 +09:00
Andreas Nedbal
92762223ea
refactor(meta): split package lints into separate workflows (#8530) 2022-04-23 12:41:04 +09:00
syuilo
b8360313e8 chore: fix paths 2022-04-03 15:24:29 +09:00
syuilo
403b82277c refactor actions 2022-04-03 15:21:46 +09:00
Andreas Nedbal
f9b5d92176
Fix: Adjust ESLint calls to properly interpret globs (#8462)
* fix(backend): rename .eslintrc.js to .eslintrc.cjs

* fix(backend): wrap lint path glob in quotation marks

* fix(client): wrap lint path glob in quotation marks

* chore(workflow): make lint workflow use Node 16
2022-04-02 22:52:26 +09:00
tamaina
e1d69e236f
enhance: e2eテストをできるだけ改良してみた (#8159)
* update docker image?

* 続

* serial run delete from "${table}" cascade

* use cypress official github action

* refuse install by cypress action

* clean up

* use wait?

* use more wait?

* Revert "use more wait?"

This reverts commit 18d0fcae9c7d8f98a4cafb4a846a031ece57350c.

* Revert "use wait?"

This reverts commit 5aa8feec9cdc3e2f79e566249f0a0eff6c0df6a0.

* fix

* test

* test

* log?

* 握りつぶしてみる

* clean up

* env?

* clean up?

* disable video

* add comment

* remove test

* 成功?

* test browser

* nodeインストール無効化

* node16.13.0-chrome95-ff94

* node.js復活

* ?

* ちょっと戻してみる

* chrome?

* cross browser test2

* --shm-size=2g

* artifact?

* misskey.local?

* firefoxはあきらめる

* not headless?

* oops

* fix

* ??

* test1

* if?

* fail-fast: false

* headless: false

* easy error ignoreing describe

* エラーの解消
とちょっとリファクター

* add browser name to artifact

* Install mplayer for FireFox

* no wait?

* タイムアウトを甘くしてみる

* firefoxをあきらめる(n回目)

* remove timeout setting

* wait復活

* Update basic.js

* Update index.js

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-21 16:43:56 +09:00
syuilo
dded3912f8 ci: cache node_modules 2021-11-18 17:41:19 +09:00
syuilo
19cc9f7fb0 test 2021-11-12 12:43:55 +09:00
syuilo
d35b02fa23 Improve CI 2021-10-28 01:16:13 +09:00
syuilo
6d3e2b9386 Update docker-develop.yml 2021-10-16 19:49:37 +09:00
syuilo
73cdf5ca81 Update docker-develop.yml 2021-10-16 19:44:32 +09:00
MeiMei
03b04acb16
テスト用コンテナの調整 (#7838)
* Tune test container

* docs

* fix cp config

* doc

* a
2021-10-16 17:12:20 +09:00
syuilo
68aa1312f5 dev: developブランチをDocker Hubにpushするように
Resolve #7845
2021-09-30 23:09:12 +09:00
tamaina
f59f424795 Revert "fix: use master branch when build docker image"
This reverts commit c63ba5470a.
2021-09-11 11:37:35 +09:00
tamaina
c63ba5470a
fix: use master branch when build docker image 2021-09-11 11:32:47 +09:00
syuilo
0faa4470fb
GitHub ActionsでDocker Hubへのpushを行うように (#7782)
* Create docker.yml

* Update .github/workflows/docker.yml

Co-authored-by: tamaina <tamaina@hotmail.co.jp>

* add workflow_dispatch

* Multi-platform image

* Revert "Multi-platform image"

This reverts commit e5bac6632909a5020b0708227ebe248b443c2c2b.

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2021-09-09 19:28:02 +09:00
syuilo
8407702b38
藍モード (#7687)
* wip

* wip

* シンボリックリンクやめた

* install lib dependency

* bring live2d assets from misskey-dev/assets

* refactor

* nanka iroiro

* コミット忘れ

* random motion

* wip

* run git submodule update --init

* コミット忘れ

* refactor

* fix bug

* Update misskey-assets

* lint

* lint

* lint

* 藍モード修正 (#7702)

* lazy load live2d script

* fix typo

* lazy load also widget

* hot link to cubism core

* https://github.com/misskey-dev/misskey/pull/7702/files#r695623821

* fix lint

* remove live2d stuff

* use iframe

* update

* Update gulpfile.ts

* update

* Update .gitattributes

* update

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2021-09-04 17:54:24 +09:00
MeiMei
1b84ae9f3f
chore: yarn.lockがおかしかったらCIでコケるように (#7634) 2021-08-16 16:33:45 +09:00
syuilo
6573c3b522 Use Node.js v16 2021-04-28 09:22:01 +09:00
syuilo
cbdd14fa82
Delete docker.yml
docker-hub上でビルドするようにした
2021-01-16 13:48:15 +09:00
rinsuki
ef7f033c32
CI: Node 15.x でも回すように (#6836) 2020-11-14 15:13:59 +09:00
MeiMei
4df5ec82ce
Drop support for Node v11, v13 (#6402) 2020-05-23 23:19:16 +09:00
Satsuki Yanagi
0ed94ee52e
chore: Use actions/checkout@v2 (#6328) 2020-05-08 17:46:58 +09:00
MeiMei
cd94d79cbb
Supports Node v14 (#6294)
* Add Node v13, v14 CI

* pg v8.0.3
2020-04-24 23:48:50 +09:00
MeiMei
1b48e0d6e0
Revert "Update dependencies (#6167)" (#6168)
This reverts commit 0420c548da.
2020-03-20 02:46:13 +09:00
MeiMei
0420c548da
Update dependencies (#6167)
* Update CI (#11)

* Update nodejs.yml

* Fix time

* no docker

* no CI

* build only

* Update dependencies
2020-03-20 02:40:35 +09:00
rinsuki
c18f6fde80
lintをGitHub Actions でするように (#6101)
* package.json の lint スクリプトを修正

* lint アクションを追加

* yarn lint --fix

* 手動修正
2020-03-04 11:45:33 +09:00
rinsuki
d425c72134
GitHub Actions のテストで postgres がコケてるのを修正 (#6089)
* github actionsのfail原因調査用

* fix

* fix

* fux

* remove tihs branch from CI target

* ログ表示削除

* fix
2020-02-27 10:08:31 +09:00
MeiMei
1528935008
GitHub Actionsでテストが動かなくなっているのを修正 (#6088)
* CI test

* Add pg healthcheck

* postgres:10.8

* 試しにhealthcheckなしに

* postgres:10

* Revert "試しにhealthcheckなしに"

This reverts commit 4a7ba19ea9b93d54966f256f8f04090482b9005d.

* は?

* postgres:10.8-alpine

* postgres:10.11-alpine

* テスト用ブランチ指定を削除
2020-02-26 07:57:24 +09:00
rinsuki
3ecb0ab161 Add GitHub Actions (#5522)
* add .github/workflows/nodejs.yml

* fix

* GitHub Actions: Node.js 8.xはサポートしない

* add .github/workflows/docker.yml

* Dockerビルドをキャッシュするように

* Run test in github actions

* 同リポジトリ内からのプルリクだと無駄に二回走るのを抑制

* 6925c00のdocker.ymlへの適応忘れ

* fix .circleci/misskey/test.yml

* test実行時にDBとかredisとか動かすように

* fix

* fix tests (#5544)

* fix test

* fix compile errors

* PATH引き継ぎでchild_process.spawn時のENOENTを修正

*  サーバー起動処理を共通化

* fix coding style

* fd=4をipcに使うように

* fix port

* fix

* fix ws port

* #4033 にテストケースを追従

* fix?

* fix??

* fix

* fix

* fix

* maybe fix

* fix

* node 10.xサポートしてなかった

* 11.10じゃないとだめだった

* fix

* remove chart test

* fix

* chart test復活

* fix

* 一回一回コネクションを閉じる

* Revert "一回一回コネクションを閉じる"

This reverts commit 56e35cf4f83070744c8dd852f1a7075011d88828.

* 一回一回sync→dropしてるのをやめてみる

* fix

* fix

* …

* キャッシュを切ってみる

* add ts to require target

* omg fix

* Revert "キャッシュを切ってみる"

This reverts commit 88161c59d2ea769ddf87143ba4fd4660a06afdf2.

* done呼び忘れ

* 実際の文字数リミットと違ってたので対応

* テストケースがバグってたので修正

* Revert "一回一回sync→dropしてるのをやめてみる"

This reverts commit a9e543ba2eef790ac7a14ae8799b898765748e35.

* fix

* fix

* fix

* fix?

* fix

* chartのconnectionを分離する

* fix

* fix

* fix tsconfig?

* Revert "fix tsconfig?"

This reverts commit ba9269eaf65507ff97ec1dd2e27260fb2cf0510b.

* fix

* TS_NODE_FILES を scripts の方で指定

* Windowsェ

* Circle CIの実行条件をmasterへのpushのみに

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2020-01-09 14:35:04 +09:00