Restrict A1Z26 Magic checks to valid ranges #2210
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: "Pull Requests" | |
| permissions: | |
| contents: read | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: [synchronize, opened, reopened] | |
| jobs: | |
| main: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set node version | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 24 | |
| registry-url: "https://registry.npmjs.org" | |
| - name: Install | |
| run: | | |
| npm ci | |
| npm run setheapsize | |
| - name: Lint | |
| run: npx grunt lint | |
| - name: Unit Tests | |
| run: | | |
| npm test | |
| npm run testnodeconsumer | |
| - name: Production Build | |
| if: success() | |
| run: npx grunt prod | |
| - name: Upload Build Artefact | |
| if: success() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: zipped-build | |
| path: build/prod/*.zip | |
| retention-days: 5 | |
| - name: Setup Chrome | |
| id: setup-chrome | |
| if: success() | |
| run: | | |
| npx @puppeteer/browsers install chrome@148 | |
| echo chromedir=$(dirname $(find `pwd`/chrome/* -name chrome -print -quit)) >> $GITHUB_OUTPUT | |
| - name: UI Tests | |
| if: success() | |
| run: | | |
| export PATH=${{ steps.setup-chrome.outputs.chromedir }}:$PATH | |
| sudo apt-get install xvfb | |
| xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui | |
| - name: Set up Docker Buildx | |
| if: success() | |
| uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0 | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0 | |
| - name: Production Image Build | |
| if: success() | |
| id: build-image | |
| uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0 | |
| with: | |
| platforms: linux/amd64,linux/arm64,linux/arm/v7 |