Skip to content

Commit

Permalink
Merge pull request #1 from FriendlyCaptcha/gh-actions
Browse files Browse the repository at this point in the history
Add CI workflow
  • Loading branch information
gzuidhof authored Dec 8, 2023
2 parents 522d8b3 + bcd503d commit f9bfb7b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: SDK build and test

on:
push:
branches: [main]
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
cache-dependency-path: "package-lock.json"
- name: "Install deps"
run: npm ci
- name: "Build"
run: npm run build:dist
-name: "Test"
run: npm t

0 comments on commit f9bfb7b

Please sign in to comment.