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

deps: update actions/checkout action to v2.7.0 - autoclosed #901

deps: update actions/checkout action to v2.7.0 - autoclosed

deps: update actions/checkout action to v2.7.0 - autoclosed #901

Workflow file for this run

name: Tests
on:
workflow_call:
pull_request:
branches:
- master
jobs:
lints:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
- uses: actions/[email protected]
with:
cache: 'pnpm'
- name: Dependency check
run: pnpm --immutable
- name: Dependency cruiser check
run: pnpm test:deps
- name: Prettier check
run: pnpm test:prettier
- name: ESLint check
run: pnpm test:eslint
- name: Skypack check
run: pnpm test:skypack
test:
needs: lints
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 21]
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
- name: Set up Node.js ${{matrix.node}}
uses: actions/[email protected]
with:
node-version: ${{matrix.node}}
cache: 'pnpm'
- name: Unit tests
run: pnpm test