Skip to content

Commit

Permalink
Add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinitto committed Nov 9, 2023
1 parent 41a4de1 commit 43ed739
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:
push:
branches:
- master
paths:
- "**.js"
- "**.ts"
- "**.cjs"
- "examples/**"
- "package.json"
- "package-lock.json"
- ".gitignore"
- ".github/workflows/**"
- "!dist/**"
tags:
- "v*"
pull_request:
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
- name: npm install and test
run: |
npm ci
npm test
env:
CI: true

0 comments on commit 43ed739

Please sign in to comment.