Skip to content

fix: Github Action

fix: Github Action #2

Workflow file for this run

name: Sync service prod
on:
push:
branches:
- main
paths:
- src/**
- tests/**
- .github/workflows/**.yaml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'pnpm'
- run: pnpm install
- run: pnpm run build
- run: NODE_ENV=test pnpm test