build(deps-dev): bump @types/node from 22.10.2 to 22.10.10 #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
Check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
cache-dependency-path: pnpm-lock.yaml | |
- name: Install Dependencies | |
run: pnpm i | |
- name: Type Check | |
run: pnpm type-check | |
- name: Biome Check | |
run: pnpm biome check . | |
Test: | |
needs: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
cache-dependency-path: pnpm-lock.yaml | |
- name: Install Dependencies | |
run: pnpm i | |
- name: Prepare | |
run: | | |
mkdir ~/.ssh | |
echo "${{secrets.SSH_PRIVATE_KEY}}" > ~/.ssh/id_rsa | |
chmod 600 ~/.ssh/id_rsa | |
echo "Host *" > ~/.ssh/config | |
echo " StrictHostKeyChecking accept-new" >> ~/.ssh/config | |
- name: Test | |
run: pnpm test |