Skip to content

Commit

Permalink
First shot at workflow, only linting for now
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanaz2 committed Nov 19, 2022
1 parent 7506166 commit b480588
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
lint:
name: ESLint
runs-on: ubuntu-latest

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

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

- name: Setup node ${{matrix.node-version}}
uses: actions/setup-node@v2
with:
node-version: ${{matrix.node-version}}
cache: 'npm'

- name: Install node dependencies
run: npm ci

- name: Run ESLint
run: npm run lint

0 comments on commit b480588

Please sign in to comment.