name: Merge checks on: pull_request: branches: - master jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [22.x] steps: - name: Checkout repository uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'npm' - name: Install dependencies run: npm ci - name: Run linting run: npm run lint - name: Build run: npm run build - name: Get version id: version run: echo "version=v$(./ci/getVersion.sh)" >> $GITHUB_OUTPUT - name: Verify version run: ./ci/verifyVersion.sh ${{ steps.version.outputs.version }}