Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

chore(deps): update composite github actions to v4 (major) #25

chore(deps): update composite github actions to v4 (major)

chore(deps): update composite github actions to v4 (major) #25

Workflow file for this run

---
name: CI
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
commitlint:
runs-on: ubuntu-latest
name: "Commit Message Check"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: pnpm/action-setup@v2
with:
version: 7
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: "pnpm"
node-version: lts/*
- name: Install dependencies
run: pnpm install
- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: pnpm dlx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
identity-token:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [lts/-2, lts/-1, lts/*]
name: Node.js ${{ matrix.node-version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 7
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: "pnpm"
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: pnpm install
- name: Compile TypeScript
run: pnpm build
- name: Test
run: pnpm test
- name: Lint
run: pnpm lint