Skip to content

Commit 2feb044

Browse files
committed
fix CI
1 parent 1eddb54 commit 2feb044

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.changeset/friendly-birds-happen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
'@segment/analytics-core': minor
44
---
55

6-
Migrate common code into core.
6+
Migrate shared code into core.

.github/workflows/release-creator.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ jobs:
2727
node-version: 12.x
2828
cache: "yarn"
2929

30+
- name: Set yarn version
31+
run: yarn set version self
32+
3033
- name: Install Dependencies
31-
run: HUSKY=0 yarn install --immutable
34+
run: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 HUSKY=0 yarn install --immutable
3235

3336
- name: Create or Update Release PR
3437
id: changesets

scripts/update-lockfile.sh

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
#!/bin/bash
22
# Changesets does not support yarn, so if the resolutions change, we want to commit them as part of the version pipeline.
3+
echo "pwd: $(pwd)"
34
echo "Checking if yarn.lock is up-to-date"
4-
yarn install
5-
if [[ -n $(git status --porcelain | grep yarn.lock) ]]; then
6-
echo "Adding yarn.lock..."
7-
git add yarn.lock
8-
# The yarn.lock will be auto-commited by the changeset github action
9-
else
10-
echo "No yarn.lock updates needed"
11-
fi
5+
YARN_ENABLE_IMMUTABLE_INSTALLS=false node .yarn/releases/yarn-3.2.1.cjs # https://github.com/changesets/action/issues/170
6+
git add yarn.lock
7+
git status --porcelain

0 commit comments

Comments
 (0)