Skip to content

Commit b5288e4

Browse files
committed
chore(deps): Update dependencies.
1 parent 8057a8d commit b5288e4

7 files changed

Lines changed: 17762 additions & 17683 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,43 @@
1-
name: CI
1+
name: CI/CD
22
on:
33
- push
44
- pull_request
5+
env:
6+
FORCE_COLOR: 3
57
jobs:
6-
CI:
7-
name: Build & Test
8+
ci-cd:
9+
name: CI/CD
810
runs-on: ubuntu-latest
911
steps:
10-
- name: Fetch Repository
12+
- name: Cancel Previous Runs
13+
uses: styfle/cancel-workflow-action@0.9.1
14+
with:
15+
access_token: ${{ github.token }}
16+
17+
- name: Clone Repository
1118
uses: actions/checkout@v2
1219
with:
13-
# Ensures we fetch all tags.
20+
# Ensures all tags are fetched so that if any release management tasks
21+
# are performed, they will be able to introspect the project's commits
22+
# and tags.
1423
fetch-depth: 0
24+
1525
- name: Set Up Node
16-
uses: actions/setup-node@v1
26+
uses: actions/setup-node@v2
1727
with:
1828
node-version: 14
29+
cache: npm
30+
1931
- name: Install Dependencies
20-
run: npm ci --ignore-scripts
32+
run: |
33+
npm install --global npm@7
34+
npm ci --ignore-scripts
35+
2136
- name: Build Project
22-
run: npx nps build
23-
- name: Run Tests
24-
run: npx nps test.coverage
37+
run: npx nr build
38+
39+
- name: Run Unit Tests
40+
run: npx nr test.passWithNoTests
41+
2542
- name: Upload Coverage Report
2643
run: bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
## Install
1313

14-
This package is available as a CLI and as a Node API. If only using the Node
15-
API, you should install it locally in your project:
14+
This package is available as a CLI and as a Node API. If only using the Node API, you should install it
15+
locally in your project:
1616

1717
```
1818
npm i @darkobits/node-versions

jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
module.exports = require('@darkobits/ts').jest({
1+
import { jest } from '@darkobits/ts';
2+
3+
export default jest({
24
coveragePathIgnorePatterns: [
35
'<rootDir>/src/bin'
46
],

nr.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { nr } from '@darkobits/ts';
2+
3+
export default nr();

0 commit comments

Comments
 (0)