Skip to content

Commit

Permalink
ci: add ci pipeline (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph-fricke committed Oct 18, 2023
1 parent 65c4755 commit ff4e55d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: ci

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

env:
CI: true

jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
cache: "npm"
- name: Install Dependencies
run: npm ci
- name: Lint Project
run: npm run lint
- name: Run Tests
run: npm run test:cov
- name: Build Package
run: npm run build

0 comments on commit ff4e55d

Please sign in to comment.