Skip to content

Commit

Permalink
Add Workflow For Unit Tests (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzvnr committed Apr 22, 2023
1 parent bf5f09a commit 9b5d74d
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 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 @@
# setup and use a GitHub runner to run unit tests
name: Jest Unit Tests

on:
pull_request:
paths-ignore:
- 'dist/**'
- '.editorconfig'
- '.gitignore'
- 'index.html'
- 'LICENSE'
- 'README.md'

jobs:
tests:
runs-on: windows-latest

strategy:
matrix:
node-version: [14.x]

steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: 'Use Node.js ${{ matrix.node-version }}'
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: npm clean-install
run: npm ci
- name: tests
run: npm test
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "renumber-textile-references",
"version": "0.13.2",
"version": "0.13.3",
"description": "Automatically renumber explicitly numbered Textile references in order of appearance",
"keywords": [
"textile",
Expand Down

0 comments on commit 9b5d74d

Please sign in to comment.