Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Workflow For Unit Tests #5

Merged
merged 14 commits into from
Apr 22, 2023
Merged
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