Skip to content

UPD: GitHub CI

UPD: GitHub CI #20

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
tags: [ 'v*' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm i
- run: npm run build:ci -- --output-path=./dist
- uses: actions/upload-artifact@v4
with:
name: frontend
path: dist