mirror of
https://github.com/valitydev/fraudbusters-proto.git
synced 2024-11-06 02:25:16 +00:00
🔄 Synced local '.github/workflows/' with remote 'workflows/proto/'
This commit is contained in:
parent
0d7873e321
commit
d00a221f28
17
.github/workflows/erlang-pr.yml
vendored
Normal file
17
.github/workflows/erlang-pr.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: Erlang build
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- "*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
uses: valitydev/erlang-workflows/.github/workflows/erlang-simple-build.yml@v1
|
||||||
|
with:
|
||||||
|
otp-version: 24
|
||||||
|
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
21
.github/workflows/frontend-pr.yml
vendored
Normal 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
24
.github/workflows/frontend-publish.yml
vendored
Normal 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 }}
|
2
.github/workflows/java-deploy.yml
vendored
2
.github/workflows/java-deploy.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
uses: valitydev/java-workflow/.github/workflows/maven-thrift-deploy.yml@v1
|
uses: valitydev/java-workflow/.github/workflows/maven-thrift-deploy.yml@v2
|
||||||
secrets:
|
secrets:
|
||||||
server-username: ${{ secrets.OSSRH_USERNAME }}
|
server-username: ${{ secrets.OSSRH_USERNAME }}
|
||||||
server-password: ${{ secrets.OSSRH_TOKEN }}
|
server-password: ${{ secrets.OSSRH_TOKEN }}
|
||||||
|
2
.github/workflows/java-pr.yml
vendored
2
.github/workflows/java-pr.yml
vendored
@ -7,4 +7,4 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
uses: valitydev/java-workflow/.github/workflows/maven-thrift-build.yml@v1
|
uses: valitydev/java-workflow/.github/workflows/maven-thrift-build.yml@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user