Skip to content

Commit

Permalink
fix(deps)!: update deps making Node 18 minimum (#56)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node 18 is now the minimum required version.
  • Loading branch information
bcoe authored Jun 9, 2024
1 parent a5b1d07 commit ad7dfe1
Show file tree
Hide file tree
Showing 16 changed files with 4,792 additions and 103 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
on:
push:
branches:
- main
pull_request:
types: [assigned, opened, synchronize, reopened, labeled]
workflow_dispatch:
name: ci
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [18, 20]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm config set update-notifier false
- run: npm ci --engine-strict
- run: npm test
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- run: npm config set update-notifier false
- run: npm ci
- run: npm test
30 changes: 30 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push:
branches:
- main
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
if: github.repository == 'istanbuljs/test-exclude'
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
# The logic below handles the npm publication:
- uses: actions/checkout@v3
# these if statements ensure that a publication only occurs when
# a new release is created:
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
node_modules/*
coverage
.nyc_output
.tap
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "6.0.0"
}
2 changes: 1 addition & 1 deletion .taprc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
timeout: 360
bail: true
coverage: false
disable-coverage: true
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
'use strict';

const path = require('path');
const { promisify } = require('util');
const glob = promisify(require('glob'));
const minimatch = require('minimatch');
const { glob } = require('glob');
const { minimatch } = require('minimatch');
const { defaults } = require('@istanbuljs/schema');
const isOutsideDir = require('./is-outside-dir');

Expand Down
2 changes: 1 addition & 1 deletion is-outside-dir-win32.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const path = require('path');
const minimatch = require('minimatch');
const { minimatch } = require('minimatch');

const dot = { dot: true };

Expand Down
Loading

0 comments on commit ad7dfe1

Please sign in to comment.