-
-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (36 loc) · 1.08 KB
/
client.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Client
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: website
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: npm run build
env:
CI: true