Skip to content

Commit

Permalink
build: Add CI (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi authored Jan 9, 2024
1 parent 9e6c85f commit 3461f26
Show file tree
Hide file tree
Showing 3 changed files with 4,025 additions and 484 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Node.js CI

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

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'npm'
- run: npm ci
- run: npm audit
- run: npm run build --if-present
- run: npm test
Loading

0 comments on commit 3461f26

Please sign in to comment.