Skip to content

Commit

Permalink
Create continuous integration pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
screendriver committed Sep 21, 2023
1 parent 9c2db3d commit 52b5a40
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Main

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

jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install dependencies
run: npm clean-install
- name: Static code analysis
run: npm run lint
- name: Unit tests
run: npm run test

0 comments on commit 52b5a40

Please sign in to comment.