Skip to content

Commit

Permalink
build: use yarn v3 temporarily for Vecel
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Dec 11, 2023
1 parent e4a6ff7 commit 067bae2
Show file tree
Hide file tree
Showing 6 changed files with 1,389 additions and 1,391 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
YARN_IGNORE_NODE: 1

- name: Build, Lint and Test
run: yarn run-s test-build lint
run: yarn run-s build lint
env:
EFF_NO_LINK_RULES: true
PARSER_NO_WATCH: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: yarn --immutable

- name: Build
run: yarn test-build
run: yarn build

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
skip_step: install
build_script: test-build
script: yarn size-limit --json
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
compressionLevel: mixed

enableHardenedMode: false
enableGlobalCache: true

nodeLinker: node-modules

Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"workspaces": [
"packages/*"
],
"packageManager": "yarn@4.0.2",
"packageManager": "yarn@3.3.1",
"scripts": {
"build": "run-p 'build:*'",
"build": "yarn test && run-p 'build:*'",
"build:r": "r -f cjs",
"build:ts": "tsc -b",
"clean": "rimraf dist coverage 'packages/*/{lib,*.tsbuildinfo}'",
Expand All @@ -28,7 +28,6 @@
"release": "changeset publish",
"serve": "sirv dist",
"test": "vitest run --coverage",
"test-build": "run-s test build",
"typecov": "type-coverage",
"update-versions": "changeset version && yarn --no-immutable",
"vercel-build": "yarn docs:build"
Expand Down Expand Up @@ -87,7 +86,7 @@
"prettier-plugin-toml": "link:packages/toml",
"rimraf": "^5.0.5",
"rollup": "^4.8.0",
"vite": "patch:vite@npm%3A5.0.7#~/.yarn/patches/vite-npm-5.0.7-583fea8b6f.patch"
"vite": "patch:vite@npm%3A5.0.7#.yarn/patches/vite-npm-5.0.7-583fea8b6f.patch"
},
"browserslist": [
"extends @1stg/browserslist-config/modern"
Expand Down

0 comments on commit 067bae2

Please sign in to comment.