Skip to content

Commit

Permalink
Fixed GH Action file
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen5959 committed Dec 6, 2024
1 parent 8013d01 commit b4b3793
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/prettier.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: Continuous Integration

on: pull_request
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
prettier:
timeout-minutes: 60
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm install -g pnpm && pnpm install
- name: Prettify code
uses: creyD/[email protected]
- name: Run ESLint
run: pnpm run lint

0 comments on commit b4b3793

Please sign in to comment.