Skip to content

feat: move from tsd to tstyche appconfig #116

feat: move from tsd to tstyche appconfig

feat: move from tsd to tstyche appconfig #116

Workflow file for this run

name: Tests (unit)
on:
pull_request:
permissions:
contents: read
jobs:
unit:
name: Tests (unit)
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
- name: Cache npm
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: |
npm ci
- name: Build
run: |
npm run build --if-present
- name: Unit tests
run: |
npm run test:unit