Skip to content

Commit

Permalink
chore: update pob root
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and christophehurpeau committed Dec 28, 2023
1 parent 256b482 commit 55f5b54
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ yarn-error.log*
*.sublime-project
*.sublime-workspace

# jest default coverage directory
# default coverage directory
/coverage

#*
Expand Down
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ supportedArchitectures:
os:
- linux
- darwin
libc:
- glibc
- musl
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,14 @@
"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 .",
"lint:prettier:fix": "pob-root-prettier --write .",
"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",
Expand Down

0 comments on commit 55f5b54

Please sign in to comment.