Skip to content

Commit 85b7741

Browse files
committed
test: update babel config
1 parent b440215 commit 85b7741

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.github/workflows/test.yml

-10
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,6 @@ jobs:
9898
- name: checkout
9999
uses: actions/checkout@v2
100100

101-
# with:
102-
# token: ${{ secrets.ACCESS_TOKEN }}
103-
# - name: Checkout submodules
104-
# uses: actions/checkout@v2
105-
# with:
106-
# repository: tangjinzhou/antdv-demo
107-
# token: ${{ secrets.ACCESS_TOKEN }}
108-
# path: antdv-demo
109-
# submodules: true
110-
111101
- name: restore cache from package-lock.json
112102
uses: actions/cache@v2
113103
with:

babel.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
env: {
33
test: {
4-
presets: [['@babel/preset-env', { targets: { node: true } }]],
4+
presets: [['@babel/preset-env']],
55
plugins: [
66
['@vue/babel-plugin-jsx', { mergeProps: false, enableObjectSlots: false }],
77
'@babel/plugin-proposal-optional-chaining',

0 commit comments

Comments
 (0)