Skip to content

test 2

test 2 #3

name: CI
on:
push:
workflow_dispatch:
pull_request:
types:
- synchronize
- opened
jobs:
build:
name: Build and lint frontend
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
run: npm install
- name: Copy config file
run: cp config.example.js config.js
- name: Lint code
run: npm run lint
- name: Build project
run: npx webpack