Skip to content

Commit e238ecb

Browse files
authored
chore: switch to GitHub actions (#6)
1 parent dc92352 commit e238ecb

7 files changed

Lines changed: 71 additions & 55 deletions

File tree

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text eol=lf

.github/ISSUE_TEMPLATE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### Node version (or tell us if you're using electron or some other framework):
2+
3+
### ShellJS version (the most recent version/GitHub branch you see the bug on):
4+
5+
### Operating system:
6+
7+
### Description of the bug:
8+
9+
### Example ShellJS command to reproduce the error:
10+
11+
```javascript
12+
13+
```

.github/SECURITY.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Security Policy
2+
3+
Thank you for reaching out about security! Please note that this project is
4+
maintained on a best-effort basis, however I still intend to prioritize
5+
reviewing and addressing security issues.
6+
7+
## Supported Versions
8+
9+
I generally only support the latest release (see
10+
https://www.npmjs.com/package/shelljs-plugin-open). My goal is to release
11+
security fixes as patch releases on top of whatever was most recently shipped.
12+
13+
## Reporting a Vulnerability
14+
15+
Please report security vulnerabilities to ntfschr@gmail.com. I should respond
16+
within a few days. Although it's not strictly required, it helps me out if you
17+
can include any proof of concept exploit code, suggested fix, etc.
18+
19+
**Please do not publicly disclose the suspected vulnerability** until I have a
20+
chance to review your report. I'd like a chance to patch the code before the
21+
issue is known to the public.
22+
23+
Please **only** use this email for security issues. It's also OK to use the
24+
email if you're legitimately unsure if this is a security issue (better safe
25+
than sorry). But for all other non-security issues, please use the GitHub issue
26+
tracker.

.github/workflows/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
node-version:
13+
- 4
14+
- 6
15+
- 8
16+
- 10
17+
- 12
18+
- 14
19+
- 16
20+
os:
21+
- ubuntu-latest
22+
- macos-latest
23+
- windows-latest
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: actions/setup-node@v2
27+
with:
28+
node-version: ${{ matrix.node-version }}
29+
- run: npm install
30+
- run: npm run test

.travis.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# shelljs-plugin-open
22

3-
[![Travis](https://img.shields.io/travis/shelljs/plugin-open/master.svg?style=flat-square&label=unix)](https://travis-ci.org/shelljs/plugin-open)
4-
[![AppVeyor](https://img.shields.io/appveyor/ci/shelljs/plugin-open/master.svg?style=flat-square&label=windows)](https://ci.appveyor.com/project/shelljs/plugin-open/branch/master)
3+
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fshelljs%2Fplugin-open%2Fbadge%3Fref%3Dmaster&style=flat-square)](https://actions-badge.atrox.dev/shelljs/plugin-open/goto?ref=master)
54
[![npm](https://img.shields.io/npm/v/shelljs-plugin-open.svg?style=flat-square)](https://www.npmjs.com/package/shelljs-plugin-open)
65
[![shelljs-plugin](https://img.shields.io/badge/shelljs-plugin-brightgreen.svg?style=flat-square)](https://github.com/shelljs/shelljs/wiki/Using-ShellJS-Plugins)
76

appveyor.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)