Skip to content

Commit

Permalink
Define CI to do lint and unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Sep 12, 2024
1 parent 1a304ac commit f3c688e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI/CD

on: [push]

permissions:
contents: read

jobs:
lint-and-test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: install dependencies
run: npm install
- name: lint
run: npm run lint
- name: unit test
run: npm run test

0 comments on commit f3c688e

Please sign in to comment.