Skip to content

Commit

Permalink
Create GitHub Actions workflow for CI
Browse files Browse the repository at this point in the history
Drop node 5 for node 6, as the former appears to not
run at all on GitHub Actions

Works towards #250
  • Loading branch information
LoneRifle committed Jul 24, 2022
1 parent ce2f4e6 commit 7511a02
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: build
on:
push:
pull_request:
types: [opened, reopened]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: [4, 6]
steps:
- uses: actions/checkout@HEAD
- uses: actions/setup-node@HEAD
with:
node-version: ${{ matrix.version }}
- run: npm install
- run: npm test
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## xml-crypto

[![Build Status](https://travis-ci.org/yaronn/xml-crypto.png?branch=master)](https://travis-ci.org/yaronn/xml-crypto)
![Build](https://github.com/yaronn/xml-crypto/actions/workflows/ci.yml/badge.svg)

An xml digital signature library for node. Xml encryption is coming soon. Written in pure javascript!

Expand Down

0 comments on commit 7511a02

Please sign in to comment.