Skip to content

Commit

Permalink
improve configs
Browse files Browse the repository at this point in the history
  • Loading branch information
alekseykulikov committed Oct 14, 2023
1 parent 318c147 commit dcea332
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '18'
cache: 'yarn'
- run: yarn install
- run: yarn test
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dist
results
node_modules
11 changes: 3 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"src"
],
"scripts": {
"test": "ava -v && prettier -c src test script README.md && tsc -p . && size-limit"
"test": "ava -v test/index.js && prettier -c src test script README.md && tsc -p . && size-limit"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^9.0.0",
Expand Down Expand Up @@ -45,13 +45,8 @@
],
"size-limit": [
{
"limit": "500B",
"limit": "510B",
"path": "./src/index.js"
}
],
"ava": {
"files": [
"test/*.js"
]
}
]
}

0 comments on commit dcea332

Please sign in to comment.