Skip to content

Commit

Permalink
Add test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
btxtiger committed Nov 26, 2023
1 parent a6bf8b6 commit 4895e76
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm install

- name: Build with Vite
run: npm run build

- name: Test with Vitest
run: npm run test
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# change-case-all
![CI](https://github.com/btxtiger/change-case-all/actions/workflows/ci.yml/badge.svg)
[![npm](https://img.shields.io/npm/v/change-case-all.svg)](https://www.npmjs.com/package/change-case-all)
[![npm](https://img.shields.io/npm/dm/change-case-all.svg)](https://www.npmjs.com/package/change-case-all)
[![npm](https://img.shields.io/librariesio/release/npm/change-case-all)](https://www.npmjs.com/package/change-case-all)
Expand Down

0 comments on commit 4895e76

Please sign in to comment.