Skip to content

Commit 21a5533

Browse files
committed
initial commit
1 parent bdc706a commit 21a5533

13 files changed

+5120
-0
lines changed

Diff for: .eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/test/fixture

Diff for: .eslintrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* NPM: https://www.npmjs.com/package/@typhonjs-config/eslint-config
3+
*/
4+
{
5+
"extends": "@typhonjs-config/eslint-config/esm/2020/node"
6+
}

Diff for: .github/workflows/ci.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI/CD
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [14.x]
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v2
21+
22+
- name: Set up Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v1
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
27+
- name: Install dependencies
28+
run: npm install
29+
30+
- name: Run eslint
31+
run: npm run eslint
32+
33+
- name: Run the tests
34+
run: npm test
35+
36+
- name: Upload coverage to Codecov
37+
uses: codecov/codecov-action@v1

Diff for: .gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#temporary until testing framework is setup.
2+
/env
3+
4+
.idea
5+
.DS_Store
6+
npm-debug.log
7+
*-debug.log
8+
*-error.log
9+
/.nyc_output
10+
/coverage
11+
node_modules

0 commit comments

Comments
 (0)