Skip to content

Commit

Permalink
chore: switch to GitHub actions (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfischer committed Jan 8, 2022
1 parent 951f5ae commit 1d1c27c
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 49 deletions.
1 change: 1 addition & 0 deletions .gitattributes
@@ -0,0 +1 @@
* text eol=lf
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE.md
@@ -0,0 +1,13 @@
### Node version (or tell us if you're using electron or some other framework):

### ShellJS version (the most recent version/GitHub branch you see the bug on):

### Operating system:

### Description of the bug:

### Example ShellJS command to reproduce the error:

```javascript

```
26 changes: 26 additions & 0 deletions .github/SECURITY.md
@@ -0,0 +1,26 @@
# Security Policy

Thank you for reaching out about security! Please note that this project is
maintained on a best-effort basis, however I still intend to prioritize
reviewing and addressing security issues.

## Supported Versions

I generally only support the latest release (see
https://www.npmjs.com/package/shelljs-exec-proxy). My goal is to release
security fixes as patch releases on top of whatever was most recently shipped.

## Reporting a Vulnerability

Please report security vulnerabilities to ntfschr@gmail.com. I should respond
within a few days. Although it's not strictly required, it helps me out if you
can include any proof of concept exploit code, suggested fix, etc.

**Please do not publicly disclose the suspected vulnerability** until I have a
chance to review your report. I'd like a chance to patch the code before the
issue is known to the public.

Please **only** use this email for security issues. It's also OK to use the
email if you're legitimately unsure if this is a security issue (better safe
than sorry). But for all other non-security issues, please use the GitHub issue
tracker.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
@@ -0,0 +1,32 @@
name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version:
- 6
- 8
- 10
- 12
- 14
- 16
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run test
- uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# ShellJS Exec Proxy

[![Travis](https://img.shields.io/travis/nfischer/shelljs-exec-proxy/master.svg?style=flat-square)](https://travis-ci.org/nfischer/shelljs-exec-proxy)
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fnfischer%2Fshelljs-exec-proxy%2Fbadge%3Fref%3Dmaster&style=flat-square)](https://actions-badge.atrox.dev/nfischer/shelljs-exec-proxy/goto?ref=master)
[![Codecov](https://img.shields.io/codecov/c/github/nfischer/shelljs-exec-proxy.svg?style=flat-square)](https://codecov.io/gh/nfischer/shelljs-exec-proxy)
[![npm](https://img.shields.io/npm/v/shelljs-exec-proxy.svg?style=flat-square)](https://www.npmjs.com/package/shelljs-exec-proxy)
[![npm downloads](https://img.shields.io/npm/dm/shelljs-exec-proxy.svg?style=flat-square)](https://www.npmjs.com/package/shelljs-exec-proxy)
Expand Down
29 changes: 0 additions & 29 deletions appveyor.yml

This file was deleted.

0 comments on commit 1d1c27c

Please sign in to comment.