Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit c4616d9

Browse files
claudiahdzmikemimik
authored andcommittedMar 2, 2020
chore: basic project updates
- Update dependencies - Use GitHub Actions instead of travis/appveyor
1 parent 2894cd2 commit c4616d9

File tree

6 files changed

+121
-47
lines changed

6 files changed

+121
-47
lines changed
 

‎.github/settings.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
_extends: 'open-source-project-boilerplate'

‎.github/workflows/ci.yml

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
################################################################################
3+
# Template - Node CI
4+
#
5+
# Description:
6+
# This contains the basic information to: install dependencies, run tests,
7+
# get coverage, and run linting on a nodejs project. This template will run
8+
# over the MxN matrix of all operating systems, and all current LTS versions
9+
# of NodeJS.
10+
#
11+
# Dependencies:
12+
# This template assumes that your project is using the `tap` module for
13+
# testing. If you're not using this module, then the step that runs your
14+
# coverage will need to be adjusted.
15+
#
16+
################################################################################
17+
name: Node CI
18+
19+
on: [push, pull_request]
20+
21+
jobs:
22+
build:
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
node-version: [10.x, 12.x, 13.x]
27+
os: [ubuntu-latest, windows-latest, macOS-latest]
28+
29+
runs-on: ${{ matrix.os }}
30+
31+
steps:
32+
# Checkout the repository
33+
- uses: actions/checkout@v2
34+
# Installs the specific version of Node.js
35+
- name: Use Node.js ${{ matrix.node-version }}
36+
uses: actions/setup-node@v1
37+
with:
38+
node-version: ${{ matrix.node-version }}
39+
40+
################################################################################
41+
# Install Dependencies
42+
#
43+
# ASSUMPTIONS:
44+
# - The project has a package-lock.json file
45+
#
46+
# Simply run the tests for the project.
47+
################################################################################
48+
- name: Install dependencies
49+
run: npm ci
50+
51+
################################################################################
52+
# Run Testing
53+
#
54+
# ASSUMPTIONS:
55+
# - The project has `tap` as a devDependency
56+
# - There is a script called "test" in the package.json
57+
#
58+
# Simply run the tests for the project.
59+
################################################################################
60+
- name: Run tests
61+
run: npm test

‎.travis.yml

-7
This file was deleted.

‎appveyor.yml

-22
This file was deleted.

‎package-lock.json

+51-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+7-12
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,20 @@
22
"name": "libnpmaccess",
33
"version": "3.0.2",
44
"description": "programmatic library for `npm access` commands",
5-
"author": {
6-
"name": "Kat Marchán",
7-
"email": "kzm@zkat.tech",
8-
"twitter": "maybekatz"
9-
},
5+
"author": "Kat Marchán <kzm@sykosomatic.org>",
106
"license": "ISC",
117
"scripts": {
128
"prerelease": "npm t",
139
"release": "standard-version -s",
1410
"postrelease": "npm publish && git push --follow-tags",
1511
"pretest": "standard",
16-
"test": "tap -J --100 test/*.js",
17-
"update-coc": "weallbehave -o . && git add CODE_OF_CONDUCT.md && git commit -m 'docs(coc): updated CODE_OF_CONDUCT.md'",
18-
"update-contrib": "weallcontribute -o . && git add CONTRIBUTING.md && git commit -m 'docs(contributing): updated CONTRIBUTING.md'"
12+
"test": "tap -J --100 test/*.js"
1913
},
2014
"devDependencies": {
2115
"nock": "^9.6.1",
2216
"standard": "^14.3.0",
2317
"standard-version": "^7.0.0",
24-
"tap": "^12.7.0",
25-
"weallbehave": "*",
26-
"weallcontribute": "*"
18+
"tap": "^12.7.0"
2719
},
2820
"repository": {
2921
"type": "git",
@@ -34,7 +26,10 @@
3426
"dependencies": {
3527
"aproba": "^2.0.0",
3628
"get-stream": "^4.0.0",
37-
"npm-package-arg": "^6.1.0",
29+
"npm-package-arg": "^8.0.0",
3830
"npm-registry-fetch": "^4.0.0"
31+
},
32+
"engines": {
33+
"node": ">=10"
3934
}
4035
}

0 commit comments

Comments
 (0)
This repository has been archived.