Skip to content

Commit 977df54

Browse files
authored
Adds the Vue-CLI E2E workflow (#605)
* Adds the Vue CLI workflow * Updates the README
1 parent d54c40c commit 977df54

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
on:
2+
schedule:
3+
- cron: '0 */4 * * *'
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
paths:
9+
- .github/workflows/e2e-vue-cli-workflow.yml
10+
- scripts/e2e-setup-ci.sh
11+
12+
name: 'E2E Vue-CLI'
13+
jobs:
14+
chore:
15+
name: 'Validating Vue-CLI'
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@master
20+
21+
- name: 'Use Node.js 10.x'
22+
uses: actions/setup-node@master
23+
with:
24+
node-version: 10.x
25+
26+
- name: 'Build the standard bundle'
27+
run: |
28+
node ./scripts/run-yarn.js build:cli
29+
30+
- name: 'Running the integration test'
31+
run: |
32+
source scripts/e2e-setup-ci.sh
33+
yarn dlx -p @vue/cli@^4.1.0-beta.0 vue create -d my-vue && cd my-vue
34+
yarn add vue-cli-plugin-pnp -D
35+
yarn build

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ On top of our classic integration tests, we also run Yarn every day against the
4646
[![](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)<br/>
4747
[![](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)<br/>
4848
[![](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)<br/>
49+
[![](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)<br/>
4950
</td><td valign="top">
5051

5152
[![](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)<br/>

0 commit comments

Comments
 (0)