Skip to content

Commit

Permalink
chore: add format check to workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
jchojna committed Oct 9, 2024
1 parent 4163b9c commit 85a1c33
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Run Tests and Lint

on:
push:
branches: [main]

pull_request:
branches: [main]

jobs:
tests:
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install dependencies
run: npm ci

- name: Check Types
run: npm run type-check

- name: Lint code
run: npm run lint

- name: Format code
run: npm run format:check

- name: Run tests
run: npm test

0 comments on commit 85a1c33

Please sign in to comment.