Skip to content

chore(deps): update github/codeql-action action to v3.26.12 #268

chore(deps): update github/codeql-action action to v3.26.12

chore(deps): update github/codeql-action action to v3.26.12 #268

Workflow file for this run

name: Build and Test
on:
push:
branches:
- '**'
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: 'Build and Test (Node: ${{ matrix.node.name }})'
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
node:
- name: LTS
version: lts/*
- name: Previous LTS
version: lts/-1
- name: Current
version: node
steps:
- name: Check out the code
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Set up Node.js environment
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ matrix.node.version }}
cache: npm
- name: Install dependencies
run: npm ci --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_FUND: '0'
NPM_CONFIG_AUDIT: '0'
SUPPRESS_SUPPORT: '1'
NO_UPDATE_NOTIFIER: 'true'
- name: Run postinstall scripts
run: npm rebuild && npm run prepare --if-present
- name: Run tests
run: npm test