Skip to content

Update dependencies #229

Update dependencies

Update dependencies #229

Workflow file for this run

name: Test
on:
push:
branches:
- main
paths-ignore:
- '*.md'
- '*/*.md'
- '.devcontainer/**'
tags-ignore:
- '*'
pull_request:
paths-ignore:
- '*.md'
- '*/*.md'
- '.devcontainer/**'
workflow_call:
permissions:
contents: read
jobs:
full:
name: Node.js Latest Full
runs-on: ubuntu-latest
steps:
- name: Harden the runner
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
nodejs.org:443
registry.yarnpkg.com:443
release-assets.githubusercontent.com:443
repo.yarnpkg.com:443
objects.githubusercontent.com:443
raw.githubusercontent.com:443
registry.npmjs.org:443
storybook.js.org:443
- name: Checkout the repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: 10
- name: Install Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: 24
cache: pnpm
- name: Install dependencies
run: pnpm install --ignore-scripts
- name: Run tests and build in parallel
run: pnpm test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
short:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 22
name: Node.js ${{ matrix.node-version }} Quick
steps:
- name: Harden the runner
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
nodejs.org:443
registry.yarnpkg.com:443
release-assets.githubusercontent.com:443
repo.yarnpkg.com:443
objects.githubusercontent.com:443
raw.githubusercontent.com:443
registry.npmjs.org:443
- name: Checkout the repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: 10
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm install --ignore-scripts
- name: Run unit tests
run: pnpm test:real
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}