Update dependency graphql-ws to v6.2.2 #18563
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Static analysis | |
| on: [pull_request] | |
| jobs: | |
| graphql-inspector: | |
| name: graphql-inspector | |
| runs-on: ubuntu-latest | |
| if: github.actor != 'dependabot[bot]' | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install libvips42 | |
| run: sudo apt-get update && sudo apt-get install libvips42 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: Generate GraphQL schema file | |
| run: bin/rails graphql:schema:dump | |
| - uses: kamilkisiela/graphql-inspector@master | |
| with: | |
| schema: 'main:schema.graphql' | |
| rubocop: | |
| runs-on: ubuntu-latest | |
| if: github.actor != 'dependabot[bot]' | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v7 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: rubocop | |
| uses: reviewdog/action-rubocop@v2 | |
| with: | |
| skip_install: true | |
| use_bundler: true | |
| only_changed: true | |
| check-graphql-documents: | |
| name: check-graphql-documents | |
| runs-on: ubuntu-latest | |
| if: github.actor != 'dependabot[bot]' | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| cache: yarn | |
| - run: yarn install | |
| - run: yarn build:web | |
| - run: yarn check-graphql-documents | |
| eslint: | |
| name: eslint | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| cache: yarn | |
| - run: yarn install | |
| - run: mkdir -p /home/runner/.local/bin | |
| - run: echo "#!/bin/sh" > /home/runner/.local/bin/eslint | |
| - run: echo "yarn run eslint \$@" >> /home/runner/.local/bin/eslint | |
| - run: cat /home/runner/.local/bin/eslint | |
| - run: chmod +x /home/runner/.local/bin/eslint | |
| - run: eslint --version | |
| # Pinned below v1.35.0: that release switched the action's internal eslint | |
| # invocation from `npx --no-install -c "eslint ..."` (a shell string, which | |
| # respects $PATH and finds the shim above) to `npx --no-install eslint ...` | |
| # (bare argv form, which does not). Since this repo uses Yarn PnP (no | |
| # node_modules/.bin), the bare form can't resolve eslint locally and npx | |
| # falls back to fetching eslint's latest release from the registry, which | |
| # --no-install then refuses to do. See reviewdog/action-eslint#258. | |
| - uses: reviewdog/action-eslint@v1.34.0 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| eslint_flags: 'app/javascript test/javascript schema.graphql' |