Skip to content

Bump actions/checkout from 5.0.0 to 6.0.1 #1164

Bump actions/checkout from 5.0.0 to 6.0.1

Bump actions/checkout from 5.0.0 to 6.0.1 #1164

Workflow file for this run

name: CI
on:
push:
branches: ['main']
pull_request:
branches: ['main']
permissions:
contents: read
jobs:
lint-source:
name: Lint/build code
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v3
- name: Setup node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v3
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
- name: Run linter
run: npm run lint:check
- name: Run formatter
run: npm run prettier:check
run-tests:
name: Run tests
strategy:
fail-fast: false
matrix:
node-version:
- 20.17.0
- 20.x
- 22.9.0
- 22.x
platform:
- os: ubuntu-latest
shell: bash
- os: macos-latest
shell: bash
- os: windows-latest
shell: cmd
runs-on: ${{ matrix.platform.os }}
defaults:
run:
shell: ${{ matrix.platform.shell }}
steps:
- name: Checkout source
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v3
- name: Setup node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
- name: Run tests
run: npm run test:ci