mirror of
https://github.com/valitydev/swag-wallets.git
synced 2024-11-06 02:45:19 +00:00
Update valitydev/action-frontend action to v1
This commit is contained in:
parent
33cdea8a7a
commit
897149978a
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
|
||||
- run: npm ci
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
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,13 +14,13 @@ 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
|
||||
- run: npm ci
|
||||
- name: Build
|
||||
run: npm run build
|
||||
- name: Codegen
|
||||
run: npm run codegen
|
||||
- uses: valitydev/action-frontend/publish@v0.1
|
||||
- uses: valitydev/action-frontend/publish@v1.0
|
||||
with:
|
||||
npm-token: ${{ secrets.NPM_TOKEN }}
|
||||
directory: ./lib
|
||||
|
Loading…
Reference in New Issue
Block a user