fix(ci): GitHub Actions workflowの整備 (MisskeyIO#550)

This commit is contained in:
まっちゃとーにゅ 2024-03-20 21:15:37 +09:00 committed by GitHub
parent f94fb9412a
commit 7a01ecb53c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 24 additions and 26 deletions

View File

@ -2,7 +2,10 @@ name: Check Misskey JS version
on:
push:
branches: [ io ]
branches:
- beta
- io
- host
paths:
- packages/misskey-js/package.json
- package.json

View File

@ -1,18 +0,0 @@
name: Check copyright year
on:
push:
branches:
- master
- develop
jobs:
check_copyright_year:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- run: |
if [ "$(grep Copyright COPYING | sed -e 's/.*2014-\([0-9]*\) .*/\1/g')" -ne "$(date +%Y)" ]; then
echo "Please change copyright year!"
exit 1
fi

View File

@ -5,7 +5,7 @@ on:
branches:
- host
tags:
- '[0-9.]+-host.*'
- '**-host.*'
workflow_dispatch:
jobs:

View File

@ -5,7 +5,7 @@ on:
branches:
- io
tags:
- '[0-9.]+-io.*'
- '**-io.*'
workflow_dispatch:
jobs:

View File

@ -3,8 +3,9 @@ name: Dockle
on:
push:
branches:
- master
- develop
- beta
- io
- host
pull_request:
jobs:

View File

@ -3,7 +3,9 @@ name: Lint
on:
push:
branches:
- beta
- io
- host
paths:
- packages/backend/**
- packages/frontend/**

View File

@ -3,7 +3,9 @@ name: Test (backend)
on:
push:
branches:
- beta
- io
- host
paths:
- packages/backend/**
# for permissions

View File

@ -3,7 +3,9 @@ name: Test (frontend)
on:
push:
branches:
- beta
- io
- host
paths:
- packages/frontend/**
# for permissions

View File

@ -5,7 +5,10 @@ name: Test (misskey.js)
on:
push:
branches: [ io ]
branches:
- beta
- io
- host
paths:
- packages/misskey-js/**
pull_request:

View File

@ -3,8 +3,9 @@ name: Test (production install and build)
on:
push:
branches:
- master
- develop
- beta
- io
- host
pull_request:
env:

View File

@ -3,7 +3,9 @@ name: Test (backend)
on:
push:
branches:
- beta
- io
- host
paths:
- packages/backend/**
pull_request: