Skip to content

Commit

Permalink
feat: added Github action for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliaksei authored and Aliaksei committed Nov 12, 2024
1 parent aeff74d commit cd9b951
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Unit tests

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

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run test:unit

0 comments on commit cd9b951

Please sign in to comment.