Skip to content

Commit

Permalink
Switch to Yarn plug-and-play
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Aug 5, 2024
1 parent 4ffe051 commit e74dff8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/nodejs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Build & Code analysis
run: yarn run lint
- name: Lint TypeScript
run: yarn run lint-ts

- name: Lint Markdown
run: yarn run lint-md

- name: Build
run: yarn run build
Expand Down
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules
nodeLinker: pnp

yarnPath: .yarn/releases/yarn-4.3.1.cjs
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"build": "npm run clean && npm run compile",
"compile-src": "tsc -p lib",
"compile-test": "tsc -p test",
"compile": "npm run compile-src && yarn run compile-test",
"biome": "biome check",
"compile": "yarn run compile-src && yarn run compile-test",
"lint-ts": "biome check",
"lint-md": "remark -u preset-lint-recommended .",
"lint": "npm run lint-md && npm run biome",
"lint": "yarn run lint-md && yarn run lint ts",
"test": "mocha",
"test-coverage": "c8 npm run test",
"start": "npm run compile && npm run lint && npm run cover-test"
"start": "yarn run compile && yarn run lint && yarn run cover-test"
},
"engines": {
"node": ">=14.16"
Expand Down

0 comments on commit e74dff8

Please sign in to comment.