GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: drop node 10 support (#94) · npm/pacote@a0d4c60

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • ci.yml
  • package.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci.yml‎

Copy file name to clipboard
+40-28Lines changed: 40 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,51 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
- latest
49

510
jobs:
6-
build:
11+
#todo: add linting!
12+
# lint:
13+
# runs-on: ubuntu-latest
14+
# steps:
15+
# - uses: actions/checkout@v2
16+
# - uses: actions/setup-node@v2
17+
# with:
18+
# node-version: '16'
19+
# cache: npm
20+
# - run: npm i --prefer-online -g npm@latest
21+
# - run: npm ci
22+
# - run: npm run lint
23+
24+
test:
725
strategy:
26+
fail-fast: false
827
matrix:
9-
node-version: [10.x, 12.x, 14.x, 15.x, 16.x]
28+
node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.x]
1029
# todo: add windows-latest to this list.
11-
# Right now, it's just too flaky and hard to get PWD and HOME out
12-
# of all the snapshots properly.
30+
# Right now, it's just too flaky and hard to get PWD and HOME out of
31+
# all the snapshots properly.
1332
os: [ubuntu-latest, macOS-latest]
14-
fail-fast: false
15-
16-
runs-on: ${{ matrix.os }}
17-
33+
platform:
34+
- os: ubuntu-latest
35+
shell: bash
36+
- os: macos-latest
37+
shell: bash
38+
runs-on: ${{ matrix.platform.os }}
39+
defaults:
40+
run:
41+
shell: ${{ matrix.platform.shell }}
1842
steps:
19-
- name: Checkout Repository
20-
uses: actions/[email protected]
21-
22-
- name: Use Nodejs ${{ matrix.node-version }}
23-
uses: actions/setup-node@v1
43+
- uses: actions/checkout@v2
44+
- uses: actions/setup-node@v2
2445
with:
2546
node-version: ${{ matrix.node-version }}
26-
27-
- name: Install dependencies
28-
run: npm install
29-
30-
# Run for all environments
31-
- name: Run Tap Tests
32-
run: npm test
33-
34-
# Push coverage for specific environment
35-
- name: Run Tap Tests (push coverage results)
36-
if: matrix.os == 'macOS-latest' && matrix.node-version == '12.x'
37-
run: npm test
38-
env:
39-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
47+
cache: npm
48+
- run: npm i --prefer-online -g npm@latest
49+
- run: npm ci
50+
- run: npm test --ignore-scripts
51+
- run: npm ls -a
Collapse file

‎package.json‎

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"tar": "^6.1.0"
5555
},
5656
"engines": {
57-
"node": ">=10"
57+
"node": "^12.13.0 || ^14.15.0 || >=16"
5858
},
5959
"repository": "[email protected]:npm/pacote"
6060
}

0 commit comments

Comments
0 (0)
You are visitor 01402809 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.