Compare commits
2 Commits
main
...
renovate/y
Author | SHA1 | Date | |
---|---|---|---|
fffbe08963 | |||
2fcebab367 |
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -33,14 +33,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: yanhao98/runner-images:pnpm-with-playwright
|
container: yanhao98/runner-images:pnpm-with-playwright
|
||||||
steps:
|
steps:
|
||||||
- uses: yanhao98/composite-actions/setup-node-environment@e7fd5cc26bbf735f90a7236b9c34cf8e1a3de85f
|
- uses: yanhao98/composite-actions/setup-node-environment@13dd5d7bdbf6eb3ef88afa0ae8c524dc0ccf94ba
|
||||||
- run: pnpm run build-only
|
- run: pnpm run build-only
|
||||||
env:
|
env:
|
||||||
VITE_BUILD_COMMIT: ${{ github.sha }}
|
VITE_BUILD_COMMIT: ${{ github.sha }}
|
||||||
- name: 部署到 Surge
|
- name: 部署到 Surge
|
||||||
id: surge_deploy
|
id: surge_deploy
|
||||||
if: ${{ github.actor != 'nektos/act' }} # https://nektosact.com/usage/index.html#skipping-steps
|
if: ${{ github.actor != 'nektos/act' }} # https://nektosact.com/usage/index.html#skipping-steps
|
||||||
uses: yanhao98/composite-actions/deploy-dist-to-surge@e7fd5cc26bbf735f90a7236b9c34cf8e1a3de85f
|
uses: yanhao98/composite-actions/deploy-dist-to-surge@13dd5d7bdbf6eb3ef88afa0ae8c524dc0ccf94ba
|
||||||
- name: Install Playwright Browsers
|
- name: Install Playwright Browsers
|
||||||
run: pnpm exec playwright install --with-deps
|
run: pnpm exec playwright install --with-deps
|
||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
|
Reference in New Issue
Block a user