diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 36e4130e..6030e9cb 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -1,23 +1,9 @@ -name: validate -on: - push: - branches: - [ - '+([0-9])?(.{+([0-9]),x}).x', - 'master', - 'next', - 'next-major', - 'beta', - 'alpha', - '!all-contributors/**', - ] - pull_request: - branches-ignore: ['all-contributors/**'] +name: Test Suite + +on: [pull_request] + jobs: - main: - strategy: - matrix: - node: [10.13, 12, 14] + tests: runs-on: ubuntu-latest steps: - name: ⬇️ Checkout repo @@ -25,8 +11,6 @@ jobs: - name: ⎔ Setup node uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node }} - name: 📥 Download deps uses: bahmutov/npm-install@v1 @@ -35,47 +19,3 @@ jobs: - name: ▶️ Run validate script run: npm run validate - - - name: ⬆️ Upload coverage report - uses: codecov/codecov-action@v1 - - release: - needs: main - runs-on: ubuntu-latest - if: - ${{ github.repository == 'testing-library/vue-testing-library' && - contains('refs/heads/master,refs/heads/beta,refs/heads/next,refs/heads/alpha', - github.ref) && github.event_name == 'push' }} - steps: - - name: ⬇️ Checkout repo - uses: actions/checkout@v2 - - - name: ⎔ Setup node - uses: actions/setup-node@v1 - with: - node-version: 14 - - - name: 📥 Download deps - uses: bahmutov/npm-install@v1 - with: - useLockFile: false - - - name: 🏗 Run build script - run: npm run build - - - name: 🚀 Release - uses: cycjimmy/semantic-release-action@v2 - with: - semantic_version: 17 - branches: | - [ - '+([0-9])?(.{+([0-9]),x}).x', - 'master', - 'next', - 'next-major', - {name: 'beta', prerelease: true}, - {name: 'alpha', prerelease: true} - ] - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index 60187c08..2c57308c 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "lodash.merge": "^4.6.2" }, "devDependencies": { - "@apollo/client": "3.0.0", + "@apollo/client": "3.3.6", "@babel/plugin-transform-runtime": "^7.12.1", "@testing-library/jest-dom": "^5.11.5", "@testing-library/user-event": "^12.4.0",