Skip to content

ci: bump github/codeql-action from 3.27.5 to 3.27.6 #9

ci: bump github/codeql-action from 3.27.5 to 3.27.6

ci: bump github/codeql-action from 3.27.5 to 3.27.6 #9

Workflow file for this run

name: 'Test'
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
permissions:
contents: read
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- 'ubuntu-22.04'
- 'ubuntu-20.04'
- 'ubuntu-latest'
- 'macos-latest'
- 'windows-latest'
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- name: Run prettier
if: startsWith(matrix.os, 'ubuntu-22.04')
run: npm run format:check
- name: Run eslint
if: startsWith(matrix.os, 'ubuntu-22.04')
run: npm run lint
- name: Run ncc
if: startsWith(matrix.os, 'ubuntu-22.04')
run: npm run build
- run: npm test
- name: Upload test coverage as artifact
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: coverage-${{ matrix.os }}
path: coverage
- uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7