Skip to content

Commit

Permalink
prep v4
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Aug 17, 2024
1 parent 13eba03 commit 89b6c6c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI
on: [push, pull_request]
env:
CI: true

jobs:
test:
name: Tests for Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node: [16, 18, 20, 22]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Set Node.js version
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- run: node --version
- run: npm --version

- name: Install npm dependencies
run: npm install

- name: Run tests
run: npm test
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
"test": "mocha"
},
"dependencies": {
"ini": "^1.3.5",
"kind-of": "^6.0.2",
"which": "^1.3.1"
"ini": "^4.1.3",
"kind-of": "^6.0.3",
"which": "^4.0.0"
},
"devDependencies": {
"gulp-format-md": "^2.0.0",
"mocha": "^5.2.0"
"mocha": "^10.7.3"
},
"keywords": [
"global",
Expand Down

0 comments on commit 89b6c6c

Please sign in to comment.