diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 4ebd807..a99155b 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -30,24 +30,25 @@ jobs: - name: Prettier run: yarn run lint:prettier - if: startsWith(matrix.node-version, '18.') + if: startsWith(matrix.node-version, '20.') - name: Eslint run: yarn run lint:eslint - if: startsWith(matrix.node-version, '18.') + if: startsWith(matrix.node-version, '20.') - name: Generate Test Coverage run: yarn run test:coverage - if: startsWith(matrix.node-version, '18.') + if: startsWith(matrix.node-version, '20.') env: CI: true + NODE_V8_COVERAGE: coverage/ - name: Send results to codecov uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} - if: startsWith(matrix.node-version, '18.') + if: startsWith(matrix.node-version, '20.') - name: Check nothing was forgotten before commit - if: startsWith(matrix.node-version, '18.') + if: startsWith(matrix.node-version, '20.') run: yarn run repository-check-dirty diff --git a/.gitignore b/.gitignore index 0970763..f8e5ff3 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,7 @@ yarn-error.log* *.sublime-project *.sublime-workspace -# jest default coverage directory +# default coverage directory /coverage #* diff --git a/.vscode/settings.json b/.vscode/settings.json index 54f222b..e06cca5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,8 +10,8 @@ "editor.formatOnSave": true, "eslint.codeActionsOnSave.mode": "all", "editor.codeActionsOnSave": { - "source.fixAll.eslint": true, - "source.organizeImports": false + "source.fixAll.eslint": "always", + "source.organizeImports": "never" }, // jest diff --git a/.yarnrc.yml b/.yarnrc.yml index 7903e36..5b514f4 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -14,3 +14,6 @@ supportedArchitectures: os: - linux - darwin + libc: + - glibc + - musl diff --git a/package.json b/package.json index a3d7256..da647c0 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "build": "yarn run build:definitions", "build:definitions": "tsc --lib esnext --noEmit --skipLibCheck ./lib/index.d.ts", "checks": "node scripts/check-package.js", - "clean:build": "true", "lint": "yarn run lint:prettier && yarn run lint:eslint", "lint:eslint": "eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet *.{js,cjs,mjs} lib scripts", "lint:prettier": "pob-root-prettier --check .", @@ -45,7 +44,7 @@ "postinstallDev": "pob-root-postinstall", "test": "NODE_OPTIONS=--experimental-vm-modules jest", "test-typings": "tsc -p typings/tsconfig.json", - "test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage --coverageReporters=json --coverageReporters=text", + "test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage --coverageReporters=json --coverageReporters=text", "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch" }, "prettier": "@pob/root/prettier-config",