Skip to content

Commit

Permalink
ci: add GH actions for building, linting and testing package before m…
Browse files Browse the repository at this point in the history
…erge (#8)
  • Loading branch information
SebastianSedzik committed Jul 11, 2023
1 parent 4b0cabf commit 591244c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Tests

on:
push:
branches:
- master
pull_request:
branches:
- '**'
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: with NodeJS
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run lint
- run: npm test

0 comments on commit 591244c

Please sign in to comment.