Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

RateGravity/github-action-validate-yarn-sdks

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

github-action-validate-yarn-sdks

A simple script that will recursively examine all SDKs in your .yarn/sdks folder and ensure the package versions match what's in your package.json file. Useful for ensuring your dependencies don't drift in your git repo, which can cause issues with IDE tooling.

Usage

jobs:
  ...
  ValidateYarnSDKs:
    runs-on: ubuntu-latest
    steps:
      - name: Checking out repository
        uses: actions/checkout@v3

      - name: Validate Yarn SDKs
        uses: RateGravity/github-action-validate-yarn-sdks@main
        with:
          package-json: package.json
          sdk-directory: .yarn/sdks

About

Github action that ensures that any yarn sdks installed match the version of your package.json dependencies.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors