Skip to content

[Backend] Revamp API logic and routes: API v2 #883

[Backend] Revamp API logic and routes: API v2

[Backend] Revamp API logic and routes: API v2 #883

Workflow file for this run

name: Node.js
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
name: Test
strategy:
matrix:
node-version: [ "20.x", "lts/*", "*" ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: |
- recursive: true
args: [--frozen-lockfile]
- name: Initialize project
run: pnpm common:build
- name: Do test
run: pnpm test