Skip to content

Commit

Permalink
added more things to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
manzil-infinity180 committed Aug 4, 2024
1 parent 5e3cfed commit 20f65dd
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/.yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
extends: default

rules:
line-length: disable
truthy: disable
document-start: disable

ignore: |
site/node_modules/*
site/vendor/*
28 changes: 24 additions & 4 deletions .github/workflows/xf_ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Jest Testing
on: push
on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
jest:
name: 'Jest testing'
Expand All @@ -10,6 +16,7 @@ jobs:
permissions: write-all
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install Dependencies
Expand All @@ -25,15 +32,28 @@ jobs:
with:
name: code-coverage-report
path: ./coverage/Icon-report

js-lint:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm install
- name: Run Eslint
- run: npm run eslint

yaml-lint:
name: yaml-lint
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v4
- name: install yamllint
run: sudo apt-get install -y yamllint
- name: Run yamllint
run: yamllint .

0 comments on commit 20f65dd

Please sign in to comment.