Skip to content

chore(pinact): pin/update GitHub Actions #747

chore(pinact): pin/update GitHub Actions

chore(pinact): pin/update GitHub Actions #747

Workflow file for this run

name: Test
on:
push:
branches: [main]
paths-ignore:
- '**.md'
pull_request:
branches: [main]
paths-ignore:
- '**.md'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 22
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
~/.npm
~/.config/yarn/global
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install --immutable
- name: Typescript
run: yarn typescript
- name: ESLint
run: yarn lint
- name: Run Tests
run: yarn test --passWithNoTests
- name: Validate docs
run: yarn build-docs --treatWarningsAsErrors