Skip to content

Commit

Permalink
ci: use immutable instead of frozen-lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Oct 21, 2021
1 parent 4ab6370 commit dc9a722
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-deprecate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
key: ${{ runner.os }}-16-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies if Cache Miss
if: ${{ !steps.cache-restore.outputs.cache-hit }}
run: yarn --frozen-lockfile
run: yarn --immutable
- name: Deprecate versions
run: yarn npm-deprecate
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
key: ${{ runner.os }}-16-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies if Cache Miss
if: ${{ !steps.cache-restore.outputs.cache-hit }}
run: yarn --frozen-lockfile
run: yarn --immutable
- name: Bump Version & Publish
run: |
# Resolve the tag to be used. "next" for push events, "pr-{prNumber}" for dispatch events.
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
key: ${{ runner.os }}-16-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies if Cache Miss
if: ${{ !steps.cache-restore.outputs.cache-hit }}
run: yarn --frozen-lockfile
run: yarn --immutable
- name: Build documentation
run: yarn docs
- name: Publish Docs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
key: ${{ runner.os }}-16-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies if Cache Miss
if: ${{ !steps.cache-restore.outputs.cache-hit }}
run: yarn --frozen-lockfile
run: yarn --immutable
- name: Run ESLint
run: yarn lint --fix=false

Expand All @@ -49,7 +49,7 @@ jobs:
key: ${{ runner.os }}-16-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies if Cache Miss
if: ${{ !steps.cache-restore.outputs.cache-hit }}
run: yarn --frozen-lockfile
run: yarn --immutable
- name: Run tests
run: yarn test --coverage
- name: Store code coverage report
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
key: ${{ runner.os }}-16-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies if Cache Miss
if: ${{ !steps.cache-restore.outputs.cache-hit }}
run: yarn --frozen-lockfile
run: yarn --immutable
- name: Build Code
run: yarn build

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deprecate-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
key: ${{ runner.os }}-16-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies if Cache Miss
if: ${{ !steps.cache-restore.outputs.cache-hit }}
run: yarn --frozen-lockfile
run: yarn --immutable
- name: Deprecate versions
run: yarn npm-deprecate --name "*pr-${PR_NUMBER}*" -d -v
env:
Expand Down

0 comments on commit dc9a722

Please sign in to comment.