Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 2, 2023
1 parent 60ae1db commit 152f10e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -13,11 +13,16 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x

- name: Setup
run: npm i -g @antfu/ni
Expand All @@ -35,7 +40,7 @@ jobs:
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x

- name: Setup
run: npm i -g @antfu/ni
Expand All @@ -51,7 +56,7 @@ jobs:

strategy:
matrix:
node: [14.x, 16.x]
node: [16.x, 20.x]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false

Expand Down
2 changes: 1 addition & 1 deletion bench/index.bench.ts
@@ -1,4 +1,4 @@
import { readFile } from 'fs/promises'
import { readFile } from 'node:fs/promises'
import { bench, describe } from 'vitest'
import { createIsLiteralPositionAcorn, stripLiteralAcorn, stripLiteralRegex } from '../src'

Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -19,8 +19,8 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
Expand Down

0 comments on commit 152f10e

Please sign in to comment.