File tree Expand file tree Collapse file tree 4 files changed +6
-17
lines changed
Expand file tree Collapse file tree 4 files changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,11 @@ jobs:
1313 runs-on : ubuntu-latest
1414 steps :
1515 - uses : actions/checkout@v4
16+ - run : corepack enable
1617 - uses : actions/setup-node@v4
1718 with :
1819 node-version : lts/*
19- - run : corepack enable
20+ cache : pnpm
2021 - run : npm i -g @antfu/ni
2122 - run : nci
2223 - run : nr lint
5657
5758 - name : Test
5859 run : pnpm run test
59-
60- - name : Install Webpack 4
61- run : pnpm i webpack@4
62- if : ${{ matrix.node == 16 }}
63- env :
64- IS_WEBPACK_4 : ' true'
65-
66- - name : Test with Webpack 4
67- run : pnpm run test
68- if : ${{ matrix.node == 16 }}
69- env :
70- IS_WEBPACK_4 : ' true'
Original file line number Diff line number Diff line change 11// @ts -check
2- const antfu = require ( '@antfu/eslint-config' ) . default
2+ import antfu from '@antfu/eslint-config'
33
4- module . exports = antfu (
4+ export default antfu (
55 {
66 ignores : [
77 'test-out/**' ,
Original file line number Diff line number Diff line change 2929 " dist"
3030 ],
3131 "engines" : {
32- "node" : " >=14.0 .0"
32+ "node" : " >=18.12 .0"
3333 },
3434 "scripts" : {
3535 "build" : " tsup" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export const tsup: Options = {
66 sourcemap : false ,
77 clean : true ,
88 format : [ 'cjs' , 'esm' ] ,
9- target : 'node14 ' ,
9+ target : 'node18.12 ' ,
1010 dts : true ,
1111 shims : true ,
1212 entry : [
You can’t perform that action at this time.
0 commit comments