Skip to content

Fix npm publish: bump actions to v6 for OIDC support, fix CI #55

Fix npm publish: bump actions to v6 for OIDC support, fix CI

Fix npm publish: bump actions to v6 for OIDC support, fix CI #55

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: '20'
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint
build:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
node_version: [18, 20, 22]
name: Test - node ${{ matrix.node_version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node_version }}
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Test
run: npm run test