Files
oneuptime/.github/workflows/common.yaml
Nawaz Dhandala 403a88bd9c fix typo
2022-01-23 12:28:33 +00:00

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