Skip to content

Commit

Permalink
chore: switch to GitHub actions (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfischer authored Jan 14, 2022
1 parent a0fd697 commit df9576f
Show file tree
Hide file tree
Showing 9 changed files with 85 additions and 19 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text eol=lf
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Input (bash) code

```sh

```

### Expected output ShellJS (JavaScript) code

```javascript

```

### Actual output ShellJS (JavaScript) code

```javascript

```

<!-- If you have any other comments to add, please add them below. -->
28 changes: 28 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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-transpiler) and the web version hosted on
GitHub Pages (https://nfischer.github.io/shelljs-transpiler/). 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 [email protected]. 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.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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:
- 10
- 12
- 14
- 16
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- 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
18 changes: 0 additions & 18 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 @@
# shelljs-transpiler

[![Travis](https://img.shields.io/travis/nfischer/shelljs-transpiler.svg?style=flat-square)](https://travis-ci.org/nfischer/shelljs-transpiler)
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fnfischer%2Fshelljs-transpiler%2Fbadge%3Fref%3Dmaster&style=flat-square)](https://actions-badge.atrox.dev/nfischer/shelljs-transpiler/goto?ref=master)
[![Codecov](https://img.shields.io/codecov/c/github/nfischer/shelljs-transpiler.svg?style=flat-square)](https://codecov.io/gh/nfischer/shelljs-transpiler)
[![npm version](https://img.shields.io/npm/v/shelljs-transpiler.svg?style=flat-square)](https://www.npmjs.com/package/shelljs-transpiler)
[![npm downloads](https://img.shields.io/npm/dt/shelljs-transpiler.svg?style=flat-square)](https://www.npmjs.com/package/shelljs-transpiler)
Expand Down
Binary file modified lib/codemirror/doc/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified lib/codemirror/doc/yinyang.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,8 @@
"dependencies": {
"minimist": "^1.2.0",
"shelljs": "^0.7.0"
},
"engines": {
"node": ">=10"
}
}

0 comments on commit df9576f

Please sign in to comment.