Skip to content

Commit

Permalink
fix linnt
Browse files Browse the repository at this point in the history
  • Loading branch information
manzil-infinity180 committed Aug 4, 2024
1 parent d487228 commit b27606c
Showing 1 changed file with 36 additions and 37 deletions.
73 changes: 36 additions & 37 deletions .github/workflows/xf_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,44 @@ name: Jest Testing
on: push

Check warning on line 2 in .github/workflows/xf_ci.yaml

View workflow job for this annotation

GitHub Actions / YAML Lint

2:1 [truthy] truthy value should be one of [false, true]
jobs:
jest:
name: 'Jest testing'
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ./backend
permissions: write-all
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install Dependencies
run: npm install
- name: 'start testing'
run: npm run test
env:
DOTENV_KEY: ${{ secrets.DOTENV_KEY }}
- name: Jest code coverage results
uses: actions/upload-artifact@v4
if: failure()
with:
name: code-coverage-report
path: /backend/coverage
name: "Jest testing"
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ./backend
permissions: write-all
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Install Dependencies
run: npm install
- name: "start testing"
run: npm run test
env:
DOTENV_KEY: ${{ secrets.DOTENV_KEY }}
- name: Jest code coverage results
uses: actions/upload-artifact@v4
if: failure()
with:
name: code-coverage-report
path: /backend/coverage

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'
- name: Install Dependencies
run: npm install
- name: Run Eslint
run: npm run eslint
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"
- name: Install Dependencies
run: npm install
- name: Run Eslint
run: npm run eslint

yaml-lint:
name: YAML Lint
Expand All @@ -50,4 +50,3 @@ jobs:
run: pip install yamllint
- name: Run yamllint
run: yamllint .

0 comments on commit b27606c

Please sign in to comment.