mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-23 02:58:22 +09:00
2b21c19362
* update deps * Update package.json * update deps * build: pass --strip-leading-paths to restore 0.2.x behavior (#13684) * ✌️ * ✌️ * pureimageの代わりに@napi-rs/canvasを使う (#13748) * pureimageの代わりに@napi-rs/canvasを使う * remove writestream * remove createtemp * wip * Update ClientServerService.ts * update pnpm to 9.x * update deps * re: update pnpm to 9.x * update node * ✌️ --------- Co-authored-by: anatawa12 <anatawa12@icloud.com> Co-authored-by: tamaina <tamaina@hotmail.co.jp>
43 lines
896 B
YAML
43 lines
896 B
YAML
name: Test (production install and build)
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
pull_request:
|
|
|
|
env:
|
|
NODE_ENV: production
|
|
|
|
jobs:
|
|
production:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [20.12.2]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4.1.1
|
|
with:
|
|
submodules: true
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@v3
|
|
with:
|
|
version: 9
|
|
run_install: false
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v4.0.2
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'pnpm'
|
|
- run: corepack enable
|
|
- run: pnpm i --frozen-lockfile
|
|
- name: Check pnpm-lock.yaml
|
|
run: git diff --exit-code pnpm-lock.yaml
|
|
- name: Copy Configure
|
|
run: cp .github/misskey/test.yml .config/default.yml
|
|
- name: Build
|
|
run: pnpm build
|