Skip to content

Commit 27fc14f

Browse files
authored
chore: update yarn ci (#3111)
1 parent 7003748 commit 27fc14f

File tree

4 files changed

+4
-16
lines changed

4 files changed

+4
-16
lines changed

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
cache: 'yarn'
2929

3030
- name: Install dependencies
31-
run: yarn --frozen-lockfile
31+
run: yarn --immutable
3232

3333
- name: Run tests with coverage
3434
run: yarn test:coverage
@@ -51,7 +51,7 @@ jobs:
5151

5252
# The yarn cache is not node_modules
5353
- name: Install dependencies
54-
run: yarn --frozen-lockfile
54+
run: yarn --immutable
5555

5656
- name: Lint code
5757
run: yarn lint

.github/workflows/publish-next.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ jobs:
4242
node-version-file: '.node-version'
4343

4444
# Publish to GitHub Packages
45-
- run: yarn publish --no-git-tag-version --prerelease --preid alpha-$(date +%Y%m%d%H%M%S) --tag next
45+
- run: yarn npm publish --no-git-tag-version --prerelease --preid alpha-$(date +%Y%m%d%H%M%S) --tag next
4646
env:
4747
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@
137137
"vite-plugin-dts": "^4.0.3",
138138
"vite-plugin-svgr": "^4.2.0",
139139
"vitest": "^2.0.4",
140-
"webpack": "^5.90.1",
141-
"yarn": "^1.22.22"
140+
"webpack": "^5.90.1"
142141
},
143142
"resolutions": {
144143
"parse-url": "8.1.0",

yarn.lock

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2476,7 +2476,6 @@ __metadata:
24762476
vite-plugin-svgr: ^4.2.0
24772477
vitest: ^2.0.4
24782478
webpack: ^5.90.1
2479-
yarn: ^1.22.22
24802479
peerDependencies:
24812480
"@types/react": ^16.x || ^17.x || ^18.x || ^19.x
24822481
"@types/react-dom": ^16.x || ^17.x || ^18.x || ^19.x
@@ -11348,16 +11347,6 @@ __metadata:
1134811347
languageName: node
1134911348
linkType: hard
1135011349

11351-
"yarn@npm:^1.22.22":
11352-
version: 1.22.22
11353-
resolution: "yarn@npm:1.22.22"
11354-
bin:
11355-
yarn: bin/yarn.js
11356-
yarnpkg: bin/yarn.js
11357-
checksum: 59aeef5ccfd3347287f939448e6d3594f0a42f74025b9bdc2a277641c1d4070c07a38b6e7c35e695f77410b0269a5a43c78535786564f86f39c9f781e6efa311
11358-
languageName: node
11359-
linkType: hard
11360-
1136111350
"yocto-queue@npm:^0.1.0":
1136211351
version: 0.1.0
1136311352
resolution: "yocto-queue@npm:0.1.0"

0 commit comments

Comments
 (0)