diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb71b2d159..72a71f8359 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,11 +28,7 @@ jobs: key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - - - run: yarn version check - if: "github.actor != 'dependabot[bot]' && !contains(github.ref , 'release/') && !contains(github.head_ref , 'release/')" - name: Version Check - + - run: yarn install name: Install Dependencies diff --git a/.github/workflows/version-check.yml b/.github/workflows/version-check.yml new file mode 100644 index 0000000000..46d146966c --- /dev/null +++ b/.github/workflows/version-check.yml @@ -0,0 +1,16 @@ +name: Version Check +on: [push, pull_request] +env: + DEFAULT_NODE_VERSION: 16 +jobs: + version-check: + runs-on: ubuntu-latest + if: "github.ref != 'main' && github.head_ref != 'main' && !contains(github.ref , 'release/') && !contains(github.head_ref , 'release/') && !contains(github.ref , 'dependabot/') && !contains(github.head_ref , 'dependabot/')" + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: actions/setup-node@v1 + with: + node-version: ${{env.DEFAULT_NODE_VERSION}} + - run: yarn version check diff --git a/.yarn/versions/e42d7e63.yml b/.yarn/versions/e42d7e63.yml new file mode 100644 index 0000000000..4ea38cde91 --- /dev/null +++ b/.yarn/versions/e42d7e63.yml @@ -0,0 +1,9 @@ +releases: + react-dnd-html5-backend: patch + +declined: + - react-dnd-documentation + - react-dnd-examples + - test-suite-cra + - test-suite-vite + - react-dnd-test-utils