mirror of
https://github.com/valitydev/limiter-proto.git
synced 2024-11-06 08:45:17 +00:00
Update valitydev/action-frontend action to v1
This commit is contained in:
parent
2483f600d6
commit
829780268d
4
.github/workflows/frontend-pr.yml
vendored
4
.github/workflows/frontend-pr.yml
vendored
@ -6,7 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
configured:
|
configured:
|
||||||
uses: valitydev/action-frontend/.github/workflows/configured.yml@v0.1
|
uses: valitydev/action-frontend/.github/workflows/configured.yml@v1.0
|
||||||
check:
|
check:
|
||||||
name: Check
|
name: Check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -14,7 +14,7 @@ jobs:
|
|||||||
if: needs.configured.outputs.exists == 'true'
|
if: needs.configured.outputs.exists == 'true'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: valitydev/action-frontend/setup@v0.1
|
- uses: valitydev/action-frontend/setup@v1.0
|
||||||
- uses: valitydev/action-setup-thrift@v1.0.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
|
- run: npm i # protocols don't always update the package-lock.json, so installing from package.json
|
||||||
- name: Codegen
|
- name: Codegen
|
||||||
|
6
.github/workflows/frontend-publish.yml
vendored
6
.github/workflows/frontend-publish.yml
vendored
@ -6,7 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
configured:
|
configured:
|
||||||
uses: valitydev/action-frontend/.github/workflows/configured.yml@v0.1
|
uses: valitydev/action-frontend/.github/workflows/configured.yml@v1.0
|
||||||
publish:
|
publish:
|
||||||
name: Publish
|
name: Publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -14,11 +14,11 @@ jobs:
|
|||||||
if: needs.configured.outputs.exists == 'true'
|
if: needs.configured.outputs.exists == 'true'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: valitydev/action-frontend/setup@v0.1
|
- uses: valitydev/action-frontend/setup@v1.0
|
||||||
- uses: valitydev/action-setup-thrift@v1.0.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
|
- run: npm i # protocols don't always update the package-lock.json, so installing from package.json
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run codegen
|
run: npm run codegen
|
||||||
- uses: valitydev/action-frontend/publish@v0.1
|
- uses: valitydev/action-frontend/publish@v1.0
|
||||||
with:
|
with:
|
||||||
npm-token: ${{ secrets.NPM_TOKEN }}
|
npm-token: ${{ secrets.NPM_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user