1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-16 18:15:17 +00:00
conky/.github/workflows/web.yml
2023-03-04 12:01:39 -05:00

38 lines
772 B
YAML

name: Web CI
on:
push:
branches: [main]
paths:
- web/**
- doc/**
pull_request:
branches: [main]
paths:
- web/**
- doc/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: '**/package-lock.json'
- run: npm ci
working-directory: web
- run: npm run lint
working-directory: web
- run: npm run build --if-present
working-directory: web
- run: npm run e2e:headless
working-directory: web