mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
23 lines
522 B
YAML
23 lines
522 B
YAML
name: Common Jobs
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- 'hotfix-*' # excludes hotfix branches
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v2
|
|
- run: sudo apt-get update
|
|
- run: sudo apt-get install -y curl gcc
|
|
- run: sudo apt-get install -y build-essential
|
|
- run: sudo apt-get install -y nodejs
|
|
- run: npm ci
|
|
- run: npm run lint
|
|
- run: chmod +x ./ci/scripts/cleanup.sh
|
|
- run: ./ci/scripts/cleanup.sh
|
|
|