Skip to content

build(deps): Bump workflows to latest trusted versions #268

build(deps): Bump workflows to latest trusted versions

build(deps): Bump workflows to latest trusted versions #268

Workflow file for this run

name: Run tests
on:
push:
branches:
- main
paths-ignore:
- "**.md"
pull_request:
branches:
- main
paths-ignore:
- "**.md"
jobs:
copywrite:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install copywrite
uses: hashicorp/setup-copywrite@v1.1.3
- name: Validate Header Compliance
run: copywrite headers --plan
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Node
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: ".nvmrc"
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Format
run: npm run check-format
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Node
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: ".nvmrc"
- name: Install dependencies
run: npm ci
- name: Build packages
run: npm run package