mirror of
https://github.com/valitydev/limiter-proto.git
synced 2024-11-06 00:35:18 +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:
|
||||
configured:
|
||||
uses: valitydev/action-frontend/.github/workflows/configured.yml@v0.1
|
||||
uses: valitydev/action-frontend/.github/workflows/configured.yml@v1.0
|
||||
check:
|
||||
name: Check
|
||||
runs-on: ubuntu-latest
|
||||
@ -14,7 +14,7 @@ jobs:
|
||||
if: needs.configured.outputs.exists == 'true'
|
||||
steps:
|
||||
- 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
|
||||
- run: npm i # protocols don't always update the package-lock.json, so installing from package.json
|
||||
- name: Codegen
|
||||
|
6
.github/workflows/frontend-publish.yml
vendored
6
.github/workflows/frontend-publish.yml
vendored
@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
configured:
|
||||
uses: valitydev/action-frontend/.github/workflows/configured.yml@v0.1
|
||||
uses: valitydev/action-frontend/.github/workflows/configured.yml@v1.0
|
||||
publish:
|
||||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
@ -14,11 +14,11 @@ jobs:
|
||||
if: needs.configured.outputs.exists == 'true'
|
||||
steps:
|
||||
- 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
|
||||
- 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
|
||||
- uses: valitydev/action-frontend/publish@v1.0
|
||||
with:
|
||||
npm-token: ${{ secrets.NPM_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user