Skip to content

Commit

Permalink
refactor: actions
Browse files Browse the repository at this point in the history
  • Loading branch information
loks0n committed Jan 17, 2025
1 parent eab7011 commit 62b8ad9
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Format"

on:
pull_request:
push:
branches: [main]

jobs:
format:
name: "Run ESLint"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'

- name: Install dependencies
run: npm install

- name: Run Prettier
run: npm run format
25 changes: 0 additions & 25 deletions .github/workflows/formatter.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/linter.yml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: "Linter"
name: "Lint"

on:
pull_request:
push:
branches: [main]

jobs:
eslint:
name: "Eslint Check"
lint:
name: "Run ESLint"
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit 62b8ad9

Please sign in to comment.