Fix: gap between servers #485
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: Server | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: app | |
strategy: | |
matrix: | |
node-version: [20.x.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup PNPM | |
run: npm install -g pnpm | |
- name: Install Dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev | |
- name: Setup NodeJS with PNPM caching | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.10.0" | |
cache: pnpm | |
- run: pnpm install | |
- run: pnpm run test | |
env: | |
CI: true |