Skip to content

Update github/codeql-action action to v3 #2690

Update github/codeql-action action to v3

Update github/codeql-action action to v3 #2690

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18', '20', '21']
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://[email protected]/
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build and test
run: |
npm ci
npm run lint
npm run prettier:check
npm run build
NODE_OPTIONS="--max_old_space_size=4096" npm run test:ci
env:
CI: true