E2E Create-Vue #4455
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
on: | |
schedule: | |
- cron: '0 */4 * * *' | |
push: | |
branches: | |
- master | |
pull_request: | |
paths: | |
- .github/actions/prepare/action.yml | |
- .github/workflows/e2e-create-vue-workflow.yml | |
- scripts/e2e-setup-ci.sh | |
name: 'E2E Create-Vue' | |
jobs: | |
chore: | |
name: 'Validating Create-Vue' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/prepare | |
- name: 'Running the integration test (Vue 3)' | |
run: | | |
source scripts/e2e-setup-ci.sh | |
yarn dlx create-vue@3 vue-project --default --typescript --eslint-with-prettier | |
cd vue-project | |
yarn | |
yarn build | |
yarn lint | |
- name: 'Running the integration test (Vue 2)' | |
run: | | |
source scripts/e2e-setup-ci.sh | |
yarn dlx create-vue@2 vue-project --default --typescript | |
cd vue-project | |
yarn | |
yarn build | |
if: | | |
success() || failure() |