Skip to content

Commit

Permalink
build(yarn): bump yarn from 4.0.0-rc.39 to 4.0.0-rc.50
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Sep 5, 2023
1 parent 2bf0ef4 commit 0e939d1
Show file tree
Hide file tree
Showing 7 changed files with 1,961 additions and 1,927 deletions.
30 changes: 22 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
&& !startsWith(github.event.head_commit.message, 'release:')
runs-on: ubuntu-latest
outputs:
cache-key: ${{ steps.cache-key.outputs.result }}
version: ${{ steps.version.outputs.result }}
version-typescript: ${{ steps.version-typescript.outputs.result }}
steps:
Expand All @@ -78,11 +79,14 @@ jobs:
- id: yarn
name: Install dependencies
run: yarn ${{ github.actor == 'dependabot[bot]' && '--no-immutable' || '--immutable' }}
- id: cache-key
name: Get cache key
run: echo "result=${{ runner.os }}-${{ github.run_id }}" >>$GITHUB_OUTPUT
- id: cache
name: Cache dependencies
uses: actions/cache@v3.3.1
with:
key: ${{ runner.os }}-${{ github.run_id }}
key: ${{ steps.cache-key.outputs.result }}
path: ${{ env.CACHE_PATH }}
- id: version
name: Get package version
Expand Down Expand Up @@ -112,7 +116,7 @@ jobs:
name: Restore dependencies cache
uses: actions/cache@v3.3.1
with:
key: ${{ runner.os }}-${{ github.run_id }}
key: ${{ needs.preflight.outputs.cache-key }}
path: ${{ env.CACHE_PATH }}
- id: lint
name: Check commitlint status
Expand Down Expand Up @@ -144,6 +148,7 @@ jobs:
needs:
- commitlint
- gitguardian
- preflight
runs-on: ubuntu-latest
steps:
- id: checkout
Expand All @@ -163,7 +168,7 @@ jobs:
name: Restore dependencies cache
uses: actions/cache@v3.3.1
with:
key: ${{ runner.os }}-${{ github.run_id }}
key: ${{ needs.preflight.outputs.cache-key }}
path: ${{ env.CACHE_PATH }}
- id: format
name: Check code formatting
Expand All @@ -172,6 +177,7 @@ jobs:
needs:
- commitlint
- gitguardian
- preflight
runs-on: ubuntu-latest
steps:
- id: checkout
Expand All @@ -191,7 +197,7 @@ jobs:
name: Restore dependencies cache
uses: actions/cache@v3.3.1
with:
key: ${{ runner.os }}-${{ github.run_id }}
key: ${{ needs.preflight.outputs.cache-key }}
path: ${{ env.CACHE_PATH }}
- id: lint
name: Check lint status
Expand All @@ -200,6 +206,7 @@ jobs:
needs:
- commitlint
- gitguardian
- preflight
runs-on: ubuntu-latest
steps:
- id: checkout
Expand All @@ -219,7 +226,7 @@ jobs:
name: Restore dependencies cache
uses: actions/cache@v3.3.1
with:
key: ${{ runner.os }}-${{ github.run_id }}
key: ${{ needs.preflight.outputs.cache-key }}
path: ${{ env.CACHE_PATH }}
- id: spelling
name: Check spelling
Expand Down Expand Up @@ -262,7 +269,7 @@ jobs:
name: Restore dependencies cache
uses: actions/cache@v3.3.1
with:
key: ${{ runner.os }}-${{ github.run_id }}
key: ${{ needs.preflight.outputs.cache-key }}
path: ${{ env.CACHE_PATH }}
- id: typescript
if: steps.test-files-check.outputs.files_exists == 'true'
Expand All @@ -280,6 +287,7 @@ jobs:
needs:
- commitlint
- gitguardian
- preflight
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -301,6 +309,12 @@ jobs:
uses: andstor/file-existence-action@v2.0.0
with:
files: '**/__tests__/*.spec.+(ts|tsx)'
- id: yarn-ignore-node
if: |
steps.test-files-check.outputs.files_exists == 'true'
&& startsWith(matrix.node-version, '16')
name: Set env.YARN_IGNORE_NODE
run: echo "YARN_IGNORE_NODE=1" >>$GITHUB_ENV
- id: node
if: steps.test-files-check.outputs.files_exists == 'true'
name: Setup Node.js v${{ matrix.node-version }}
Expand All @@ -314,7 +328,7 @@ jobs:
name: Restore dependencies cache
uses: actions/cache@v3.3.1
with:
key: ${{ runner.os }}-${{ github.run_id }}
key: ${{ needs.preflight.outputs.cache-key }}
path: ${{ env.CACHE_PATH }}
- id: test
if: steps.test-files-check.outputs.files_exists == 'true'
Expand Down Expand Up @@ -368,7 +382,7 @@ jobs:
name: Restore dependencies cache
uses: actions/cache@v3.3.1
with:
key: ${{ runner.os }}-${{ github.run_id }}
key: ${{ needs.preflight.outputs.cache-key }}
path: ${{ env.CACHE_PATH }}
- id: local-binaries
name: Add local binaries to $PATH
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dependabot-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ name: dependabot-auto
on: pull_request
env:
GITHUB_TOKEN: ${{ secrets.PAT_BOT }}
YARN_ENABLE_GLOBAL_CACHE: true
YARN_ENABLE_IMMUTABLE_INSTALLS: false
jobs:
dependabot-auto:
Expand Down
876 changes: 0 additions & 876 deletions .yarn/releases/yarn-4.0.0-rc.39.cjs

This file was deleted.

891 changes: 891 additions & 0 deletions .yarn/releases/yarn-4.0.0-rc.50.cjs

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ changesetIgnorePatterns:
- '**/*.spec.ts'
- '**/*.spec-d.ts'

compressionLevel: mixed

defaultSemverRangePrefix: ''

enableGlobalCache: false

enableInlineBuilds: true

enableTransparentWorkspaces: false
Expand All @@ -28,4 +32,4 @@ npmScopes:

patchFolder: ./patches

yarnPath: .yarn/releases/yarn-4.0.0-rc.39.cjs
yarnPath: .yarn/releases/yarn-4.0.0-rc.50.cjs
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@
"engines": {
"node": ">=16.20.0",
"typescript": ">=5.0.4",
"yarn": "4.0.0-rc.39"
"yarn": "4.0.0-rc.50"
},
"packageManager": "yarn@4.0.0-rc.39",
"packageManager": "yarn@4.0.0-rc.50",
"readme": "README.md",
"sideEffects": false,
"tagPrefix": "tutils@"
Expand Down
Loading

0 comments on commit 0e939d1

Please sign in to comment.