Skip to content

Commit

Permalink
chore: Add lint github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
inwaar committed May 10, 2023
1 parent e997085 commit b78d20c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: lint and test

on:
push:
pull_request:

jobs:
ci:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Linters
run: npm run lint

0 comments on commit b78d20c

Please sign in to comment.