mirror of
https://github.com/valitydev/limiter-proto.git
synced 2024-11-06 00:35:18 +00:00
🔄 Synced file(s) with valitydev/configurations (#6)
* 🔄 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:
parent
c5dfe39a00
commit
21f0b2f331
2
.github/settings.yml
vendored
Normal file
2
.github/settings.yml
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# These settings are synced to GitHub by https://probot.github.io/apps/settings/
|
||||
_extends: .github
|
7
.github/workflows/basic-linters.yml
vendored
7
.github/workflows/basic-linters.yml
vendored
@ -3,12 +3,7 @@ name: Vality basic linters
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- "*"
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
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 }}
|
Loading…
Reference in New Issue
Block a user