* chore(): Cleanup and organize deps * chore(): Cleanup and organize deps * chore(): Cleanup and organize deps * chore(): Cleanup and organize deps * chore(): Cleanup and organize deps * chore(): Cleanup and organize deps * Create lucky-poets-scream.md * chore(): Cleanup and organize deps * chore(): Cleanup and organize deps * chore(): Cleanup and organize deps * chore(): Cleanup and organize deps * dedupe snapshot this build * split into 4 shard * re configure packages integration tests * re configure packages integration tests * re configure packages integration tests * re configure packages integration tests * update scripts * update scripts * update scripts * update scripts * update scripts * update scripts * update scripts * update scripts * reduce shard for packages
30 lines
865 B
YAML
30 lines
865 B
YAML
name: cache-deps
|
|
description: Creates a cache with the given extension for monorepo dependencies
|
|
inputs:
|
|
extension:
|
|
description: Extension for cache name
|
|
skip-build:
|
|
description: Skip build step (default false)
|
|
default: "false"
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- uses: actions/cache@v4
|
|
id: cache
|
|
with:
|
|
path: |
|
|
.yarn/cache
|
|
node_modules
|
|
.pnp.*
|
|
key: ${{ runner.os }}-yarn-${{inputs.extension}}-v8-${{ hashFiles('**/yarn.lock') }}-3
|
|
restore-keys: |
|
|
${{ runner.os }}-yarn-${{inputs.extension}}-v8-3
|
|
# We want to only bootstrap and install if no cache is found.
|
|
- run: yarn install --immutable --inline-builds
|
|
shell: bash
|
|
if: steps.cache.outputs.cache-hit != 'true'
|
|
|
|
- run: yarn build
|
|
shell: bash
|
|
if: ${{ inputs.skip-build != 'true' }}
|