Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Node.js CI

on:
push:
branches:
- master
- next
paths:
- '**'
- '!**.md'
pull_request:
branches:
- master
- next
paths:
- '**'
- '!**.md'

jobs:
test:
strategy:
matrix:
node: [10, 12, 14]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

- name: Get yarn cache directory path
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache Dependencies
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-
- name: Install Project Dependencies
run: yarn --frozen-lockfile

- name: Test
run: yarn test
8 changes: 4 additions & 4 deletions e2e/__projects__/babel-in-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"test": "jest --no-cache test.js"
},
"dependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"jest": "^24.0.0",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"jest": "^26.0.0",
"ts-jest": "^26.4.4",
"typescript": "^4.1.2",
"vue": "3.0.0-alpha.10"
"vue": "^3.0.3"
},
"jest": {
"moduleFileExtensions": [
Expand Down
4,275 changes: 0 additions & 4,275 deletions e2e/__projects__/babel-in-package/yarn.lock

This file was deleted.

10 changes: 5 additions & 5 deletions e2e/__projects__/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"test": "jest --no-cache --coverage test.js"
},
"dependencies": {
"vue": "3.0.3"
"vue": "^3.0.3"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"@vue/compiler-sfc": "3.0.3",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@vue/compiler-sfc": "^3.0.3",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-vue-jsx": "^3.7.0",
"jest": "^24.0.0",
"jest": "^26.0.0",
"ts-jest": "^26.4.4",
"typescript": "^4.1.2",
"vue-class-component": "^8.0.0-beta.4"
Expand Down
4,555 changes: 0 additions & 4,555 deletions e2e/__projects__/basic/yarn.lock

This file was deleted.

10 changes: 5 additions & 5 deletions e2e/__projects__/custom-transformers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"test": "jest --no-cache --coverage test.js"
},
"dependencies": {
"@vue/compiler-sfc": "3.0.0-alpha.10",
"vue": "3.0.0-alpha.10"
"@vue/compiler-sfc": "^3.0.3",
"vue": "^3.0.3"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"jest": "^24.0.0",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"jest": "^26.0.0",
"postcss": "^7.0.13",
"postcss-color-function": "^4.0.1",
"sass": "^1.23.7"
Expand Down
Loading