Skip to content

Commit

Permalink
yarn v4 uses --immutable instead of --frozen-lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed May 31, 2024
1 parent cebe692 commit aa06ba0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
with:
node-version: 20.x
cache: 'yarn'
- run: yarn install --frozen-lockfile --ignore-scripts
- run: yarn install --immutable --ignore-scripts
- run: yarn lint
- run: yarn build:backend
- run: yarn run test:report # This adds test results as github check to the workflow
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_frontend_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: yarn run lint:material:icons
- run: yarn --frozen-lockfile
- run: yarn --immutable
- run: yarn run lint:check
- run: yarn run test
- run: yarn run ts:check # TODO: optimize
2 changes: 1 addition & 1 deletion .github/workflows/notify_enterprise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Build static assets
run: |
cd frontend
yarn install --frozen-lockfile
yarn install --immutable
yarn build
- uses: aws-actions/configure-aws-credentials@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-new-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
else
echo "No changes to CHANGELOG.md"
fi
- run: yarn install --frozen-lockfile --ignore-scripts
- run: yarn install --immutable --ignore-scripts
- name: npm version
run: |
npm version ${{ github.event.inputs.version }} --ignore-scripts
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
mv package.json.tmp package.json
- name: lint
run: |
yarn install --frozen-lockfile --ignore-scripts
yarn install --immutable --ignore-scripts
yarn lint:fix
- name: push changes
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
cache: 'yarn'
- name: Build
run: |
yarn install --frozen-lockfile
yarn install --immutable
- name: Publish to npm
run: |
LATEST=$(npm show unleash-server version)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
DATABASE_URL: postgres://postgres:unleash@localhost:5432/unleash
DATABASE_SSL: false
run: |
yarn install --frozen-lockfile --ignore-scripts
yarn install --immutable --ignore-scripts
yarn db-migrate up
# run ui tests against previous version of Unleash
- name: Run Cypress
Expand Down

0 comments on commit aa06ba0

Please sign in to comment.