Skip to content

build: update to latest npm for OIDC (#111) #456

build: update to latest npm for OIDC (#111)

build: update to latest npm for OIDC (#111) #456

Workflow file for this run

on:
push:
branches:
- main
pull_request:
pull_request_target:
workflow_dispatch:
name: ci
env:
NODE: 22
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [18, 20, 22]
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
- run: npm test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: ${{ env.NODE }}
cache: npm
- run: npm ci
- run: npm run lint
conventional-commits:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-node@v5
with:
node-version: ${{ env.NODE }}
cache: npm
- run: npm ci
- name: Validate PR commits with commitlint
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose