Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/javascript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: javascript

on:
push:
paths:
- .github/workflows/javascript.yml
- javascript/**
pull_request:
branches:
- main
paths:
- .github/workflows/javascript.yml
- javascript/**

defaults:
run:
working-directory: javascript

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
## Cache not needed because we have no dependencies.
## If we need it, here's how
# cache: npm
# cache-dependency-path: 'javascript/package-lock.json'
- run: npm test
3 changes: 3 additions & 0 deletions javascript/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.

This is the JavaScript implementation of a library available in many languages, for more information and API documentation please refer to the [project readme](https://github.com/dmsnell/diff-match-patch).