Skip to content

Commit

Permalink
chore: remove resolve-bin
Browse files Browse the repository at this point in the history
  • Loading branch information
iChenLei committed Aug 20, 2023
1 parent e021449 commit c2afcac
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 49 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
strategy:
matrix:
# Test all mainstream operating system
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [windows-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
node: [18]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -34,21 +33,21 @@ jobs:
- name: Run unit test
run: npm run test

# fast_node_test:
# name: 'Tests on ${{matrix.os}} with node${{matrix.node}}'
# strategy:
# matrix:
# os: [ubuntu-latest]
# node: [10, 12, 14, 16, 19]
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node }}
# - name: Install npm dependencies
# run: npm install
# - name: Print put node & npm version
# run: node --version && npm --version
# - name: Run unit test
# run: npm run test
fast_node_test:
name: 'Tests on ${{matrix.os}} with node${{matrix.node}}'
strategy:
matrix:
os: [ubuntu-latest]
node: [10, 12, 14, 16, 20]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install npm dependencies
run: npm install
- name: Print put node & npm version
run: node --version && npm --version
- name: Run unit test
run: npm run test
27 changes: 1 addition & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"devDependencies": {
"github-changes": "^1.1.2",
"lerna": "^3.22.1",
"npm-run-all": "^4.1.5",
"resolve-bin": "~1.0.1"
"npm-run-all": "^4.1.5"
}
}
1 change: 0 additions & 1 deletion packages/less/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

var resolve = require('resolve');
var path = require('path');
var resolveBin = require('resolve-bin')

var testFolder = path.relative(process.cwd(), path.dirname(resolve.sync('@less/test-data')));
var lessFolder = path.join(testFolder, 'less');
Expand Down

0 comments on commit c2afcac

Please sign in to comment.