Skip to content

Commit

Permalink
add action for test
Browse files Browse the repository at this point in the history
  • Loading branch information
xfsnowind committed Dec 7, 2023
1 parent 4050d5b commit 42287f2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Test
run: npm test

0 comments on commit 42287f2

Please sign in to comment.