🔄 Synced file(s) with valitydev/configurations (#8)

* 🔄 Synced local '.github/workflows/basic-linters.yml' with remote 'workflows/base/basic-linters.yml'

* 🔄 Created local '.github/settings.yml' from remote '.github/settings.yml'

* 🔄 Synced local '.github/workflows/' with remote 'workflows/proto/'
This commit is contained in:
Vality Bot 2022-11-15 15:01:05 +07:00 committed by GitHub
parent 68410722dc
commit 23dbaf0148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 54 additions and 16 deletions

2
.github/settings.yml vendored Normal file
View File

@ -0,0 +1,2 @@
# These settings are synced to GitHub by https://probot.github.io/apps/settings/
_extends: .github

View File

@ -3,12 +3,7 @@ name: Vality basic linters
on:
pull_request:
branches:
- master
- main
push:
branches:
- master
- main
- "*"
jobs:
lint:

View File

@ -1,21 +1,17 @@
name: Erlang CI Checks
name: Erlang build
on:
push:
branches:
- 'master'
- 'epic/**'
pull_request:
branches: ['**']
branches:
- "*"
jobs:
run:
name: Run checks
build:
uses: valitydev/erlang-workflows/.github/workflows/erlang-simple-build.yml@v1
with:
otp-version: 24
rebar-version: 3.18
thrift-version: 0.14.2.3
rebar-version: 3
use-thrift: true
thrift-version: 0.14.2.3
run-eunit: false
run-common-test: false

21
.github/workflows/frontend-pr.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: 'Frontend: PR'
on:
pull_request:
branches: ['*']
jobs:
configured:
uses: valitydev/action-frontend/.github/workflows/configured.yml@v0.1
check:
name: Check
runs-on: ubuntu-latest
needs: configured
if: needs.configured.outputs.exists == 'true'
steps:
- uses: actions/checkout@v3
- uses: valitydev/action-frontend/setup@v0.1
- uses: valitydev/action-setup-thrift@v1.0.1
- run: npm i # protocols don't always update the package-lock.json, so installing from package.json
- name: Codegen
run: npm run codegen

24
.github/workflows/frontend-publish.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: 'Frontend: Publish'
on:
push:
branches: ['master', 'main']
jobs:
configured:
uses: valitydev/action-frontend/.github/workflows/configured.yml@v0.1
publish:
name: Publish
runs-on: ubuntu-latest
needs: configured
if: needs.configured.outputs.exists == 'true'
steps:
- uses: actions/checkout@v3
- uses: valitydev/action-frontend/setup@v0.1
- uses: valitydev/action-setup-thrift@v1.0.1
- run: npm i # protocols don't always update the package-lock.json, so installing from package.json
- name: Build
run: npm run codegen
- uses: valitydev/action-frontend/publish@v0.1
with:
npm-token: ${{ secrets.NPM_TOKEN }}