diff --git a/.github/workflows/e2e-vue-cli-workflow.yml b/.github/workflows/e2e-vue-cli-workflow.yml new file mode 100644 index 000000000000..4f3ad5aa9051 --- /dev/null +++ b/.github/workflows/e2e-vue-cli-workflow.yml @@ -0,0 +1,35 @@ +on: + schedule: + - cron: '0 */4 * * *' + push: + branches: + - master + pull_request: + paths: + - .github/workflows/e2e-vue-cli-workflow.yml + - scripts/e2e-setup-ci.sh + +name: 'E2E Vue-CLI' +jobs: + chore: + name: 'Validating Vue-CLI' + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@master + + - name: 'Use Node.js 10.x' + uses: actions/setup-node@master + with: + node-version: 10.x + + - name: 'Build the standard bundle' + run: | + node ./scripts/run-yarn.js build:cli + + - name: 'Running the integration test' + run: | + source scripts/e2e-setup-ci.sh + yarn dlx -p @vue/cli@^4.1.0-beta.0 vue create -d my-vue && cd my-vue + yarn add vue-cli-plugin-pnp -D + yarn build diff --git a/README.md b/README.md index 92ee854a3dfd..7896b6ad4487 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ On top of our classic integration tests, we also run Yarn every day against the [![](https://github.com/yarnpkg/berry/workflows/E2E%20CRA/badge.svg?event=schedule)](https://github.com/yarnpkg/berry/blob/master/.github/workflows/e2e-cra-workflow.yml)
[![](https://github.com/yarnpkg/berry/workflows/E2E%20Gatsby/badge.svg?event=schedule)](https://github.com/yarnpkg/berry/blob/master/.github/workflows/e2e-gatsby-workflow.yml)
[![](https://github.com/yarnpkg/berry/workflows/E2E%20Next/badge.svg?event=schedule)](https://github.com/yarnpkg/berry/blob/master/.github/workflows/e2e-next-workflow.yml)
+[![](https://github.com/yarnpkg/berry/workflows/E2E%20Vue-CLI/badge.svg?event=schedule)](https://github.com/yarnpkg/berry/blob/master/.github/workflows/e2e-vue-cli-workflow.yml)
[![](https://github.com/yarnpkg/berry/workflows/E2E%20ESLint/badge.svg?event=schedule)](https://github.com/yarnpkg/berry/blob/master/.github/workflows/e2e-eslint-workflow.yml)